Conclusion for Graphing Engine Thrust

Ending thoughts for thrust available and thrust required.

You were able to learn about functions in Python, use them to convert knots to fps and calculate the thrust required, and graph the results by passing the coordinates to Matplotlib. You saw how you could make the program a little more Pythonic and concise by using the principle of Don’t Repeat Yourself (DRY) to be able to write functions so that you will not have to repeat code. You still made a great program that graphically shows how the thrust available decreases with altitude and how the thrust curve’s shape changes with the drag characteristic at altitude. Once you are comfortable writing this chapter’s program, try making the program display the same graphs by plotting all values via one plot_values() function that you define.

Here is an example of how to plot all of the points on one plot:

Get hands-on with 1400+ tech skills courses.