AAE5212 Engineering Computations and Modelling
Homework 2: Introduction to Computational Tools II
Questions
Show the original code and screening of results for the following question. Calculate
what speed it would take an airliner say Boeing 777-200, equipped with a wing having
say, S = 61 m2 area to get enough lift to take off. Assume that the total mass is m =
260,000 kg, air density ρ = 1.23 kg / m3, gravitation due to gravity g = 9.8 m/s2, and lift
coefficient CL = 2, using the following formula:
2𝑚𝑔
𝑉 = √𝐶 (1)
𝐿 𝜌𝑆
(a) Design a MATLAB function named “calculator” with multiple inputs to calculate
the value of 𝑉.
(b) Design a symbolic function 𝑓 with all the symbols in equation (1) defined as
symbolic variables to calculate the value of 𝑉. After that, calculate the result of
𝜕𝑉/𝜕𝑆, and explain the physical meaning of the sign of result, i.e. the state of being
positive or negative.
(c) Write another function named “discrete”, which creates a discrete one-dimensional
mass array ranging from the empty operating weight 144, 000 kg to the maximum
takeoff weight 297, 000 kg with an interval 500 kg. Call the function “calculator”
inside the “discrete” to determine the array outputs of V.
(d) Write another MATLAB function named “plot_figure”, and plot the curves for the
array inputs and outputs in question (c). The horizontal axis represents the input,
and the vertical axis represents the output. The curve should be plotted using a solid
line. Furthermore, plot another curve of V, with only the lift coefficient changed to
CL = 1.5, in a dashed line. Display appropriate figure title, legend, axis label and
grid line.