Homework 3
Homework 3
Policy
You should write your own answer/code by yourself. Cheating is highly discouraged for it could mean a
zero or negative grade from the homework. If a question is not clear, please let us know via email.
Submission Instructions
Please submit your homework through the Ninova website. Please zip and upload all your files using
filename studentID.rar. You must provide all functions you wrote with your zipped file. Functions you
do not submit will cause you to lose a portion of your grade. Please make sure that you comment on
your code. Make also sure that the plots you produce are readable and they have labels and legends.
You MUST include the report.pdf file with your homework. Include there:
1. answers to the questions,
2. outputs for each question,
3. how to call your functions for each question.
Problems
In this homework, you are expected to implement full aircraft motion including aerodynamic, propulsive
and fuel consumption models. The aircraft dynamic model is given by the set of equations below:
The model is a dynamical system with three control inputs and six state variables. The state variables
of the aircraft are the horizontal position (x1 and x2 ), altitude (x3 ), the true airspeed (x4 ), the heading
angle (x5 ) and the mass of the aircraft (x6 ). The control inputs of the aircraft are the engine thrust
(u1 ), the bank angle (u2 ) and the flight path angle (u3 ). In the equation set above, aerodynamic lift and
drag coefficients are represented by CL and CD , total wing surface area is S, air density is represented
as ρ and the fuel consumption is represented as f .
Problem 1
Give a short brief of Euler Method and Runge-Kutta 4th Order Method. What is the difference between
them? Show through mathematical equations
1
Problem 2
Using Euler Method, simulate aircraft motion for the aircraft defined in aircraft.OPF for the flight plan
specified by you. Your flight plan must contain all of the following maneuvers:
• Climb from h1 ft to h2 ft with α flight path angle.
• VT AS − T ime graph
• Vvertical − T ime graph
• Heading − T ime graph
• M ass − T ime graph
Note: Initial conditions must be specified at the beginning of the simulation. Nominal speed schedule
in Airline procedure model must be used as the initial condition for VT AS .