Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Write a program that reads the wind-tunnel test data and then allows the user to

ID: 3535685 • Letter: W

Question

Write a program that reads the wind-tunnel test data and then allows the user to enter a flight-path angle. If the angle is withing the bounds of the data set, the program should then use linear interpolation to compute the corresponding coefficiant of lift. . Add to the program a printout of the two arrays. Turn in the source program and output. Run the program 5 times – twice with data out of range (like -6 and 25), once with an angle that matches the list (like -2, 4, or 17), and twice with data that requires interpolation (like -3, 3, 9, or 13).

Data set:

Flight-Path Angle (degrees):

-4, -2, 0, 2, 4, 6, 8, 10, 12, 14, 15, 16, 17, 18, 19, 20, 21

Coefficient of Lift:

-0.182, -0.056, 0.097, 0.238, 0.421, 0.479, 0.654, 0.792, 0.924, 1.035, 1.076, 1.103, 1.120, 1.121, 1.121, 1.099, 1.059

Explanation / Answer

http://www.dreamincode.net/forums/topic/47636-arrays/

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote