45.Modify the program developed in Problem 43 so that it interpolates for a new angle, in-
stead of a new coefficient. Therefore, the user would enter the data for two points and a
coefficient of lift between those two points. The program should then compute the corre-
sponding angle in degrees
complet question 45
Answer question 45
Answer question 45
Answer question 45
43. Assume that we would like to use linear interpolation to determine the coefficient of lift for
additional flight-path angles that are between 4 degrees and 21 degrees. Write a program
Problems
79
that allows the user to enter the data for two points and a flight-path angle between those
points. The program should then compute the corresponding coefficient of lift.
44. Modify the program developed in Problem 43 so that it prints the new angle in radians.
The input range should also be in radians. (Recall that 180 degrees = a radians.)
45. Modify the program developed in Problem 43 so that it interpolates for a new angle, in-
stead of a new coefficient. Therefore, the user would enter the data for two points and a
coefficient of lift between those two points. The program should then compute the corre-
sponding angle in degrees.
2
Wind tunnel data
1.5
1
Coefficient of lift
0.5
0
-0.5
Problems
79
that allows the user to enter the data for two points and a flight-path angle between those
points. The program should then compute the corresponding coefficient of lift.
44. Modify the program developed in Problem 43 so that it prints the new angle in radians.
The input range should also be in radians. (Recall that 180 degrees = radians.)
45. Modify the program developed in Problem 43 so that it interpolates for a new angle, in-
stead of a new coefficient. Therefore, the user would enter the data for two points and a
coefficient of lift between those two points. The program should then compute the corre-
sponding angle in degrees.
2
Wind tunnel data
1.5
1
Coefficient of lift
0.5
0
-0.5
-5
0
5
20
25
10
15
Flight path angle, degrees
Figure 2.9 Wind tunnel data.