Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Lift for an aircraft can be computed using the following equation: L = 0.5pv2ACd where L is lift (N), p is air density (kg/m?), v

image text in transcribed

Lift for an aircraft can be computed using the following equation: L = 0.5pv2ACd where L is lift (N), p is air density (kg/m?), v is velocity (m/s), A is wing area (m) and Cd is the drag coefficient (unitless). Write a MATLAB script file that first prompts the user for the units of velocity (m/s or mph) and the aircraft's speed, v. The units should be entered as a string. The script should check for valid inputs (velocity positive with units of m/s or mph) and in the case of invalid units, continue to prompt until inputs are valid. Once the inputs are valid, the lift, L, should be calculated assuming that p = 1.23 kg/m, A = 185.3 m, and Ca=0.94. The script should output the lift using two places behind the decimal point and include units. Assume the take-off weight of the aircraft is 525000 N. If the lift is greater than the take-off weight, output a message indicating that the velocity is sufficient for take-off. If the lift is less than the take-off weight, output a message indicating that the velocity is not sufficient for take-off. Otherwise, output a message indicating that lift is equal to take-off weight. Lift for an aircraft can be computed using the following equation: L = 0.5pv2ACd where L is lift (N), p is air density (kg/m?), v is velocity (m/s), A is wing area (m) and Cd is the drag coefficient (unitless). Write a MATLAB script file that first prompts the user for the units of velocity (m/s or mph) and the aircraft's speed, v. The units should be entered as a string. The script should check for valid inputs (velocity positive with units of m/s or mph) and in the case of invalid units, continue to prompt until inputs are valid. Once the inputs are valid, the lift, L, should be calculated assuming that p = 1.23 kg/m, A = 185.3 m, and Ca=0.94. The script should output the lift using two places behind the decimal point and include units. Assume the take-off weight of the aircraft is 525000 N. If the lift is greater than the take-off weight, output a message indicating that the velocity is sufficient for take-off. If the lift is less than the take-off weight, output a message indicating that the velocity is not sufficient for take-off. Otherwise, output a message indicating that lift is equal to take-off weight

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems 14th East European Conference Adbis 2010 Novi Sad Serbia September 2010 Proceedings Lncs 6295

Authors: Barbara Catania ,Mirjana Ivanovic ,Bernhard Thalheim

2010th Edition

3642155758, 978-3642155758

More Books

Students also viewed these Databases questions

Question

3. List ways to manage relationship dynamics

Answered: 1 week ago