A few mistakes made along the way but we get there in the end.The source file for this is available at https://www.aircraftflightmechanics.c... called "Lesson Six"