Wind Tunnels. A wind tunnel is a test chamber built to generate different wind s
ID: 639858 • Letter: W
Question
Wind Tunnels. A wind tunnel is a test chamber built to generate different wind speeds, or Mach numbers (which is the wind speed divided by the speed of sound Accurate scale models of aircraft can be mounted on force-measuring supports in the Electrical Engineering EE 289 Spring 2012 New Mexico nstitute of Mining and Technology test chamber, and then measurements of the forces on the model can be made at many different wind speed and angles. At the end of an extended wind tunnel test, many sets of data have been collected and can be used to determine the coefficients of lift, drag, and other aerodynamic performance characteristics of the new aircraft at its various operational speeds and positions. Data collected from a wind tunnel test are plotted in the following figure and are listed in a table in the text book. Wind tunnel data 1.5 5 0.5 0.5 10 20 25 Flight path angle, degrees Flight-Path Angle (degrees) Coefficient of Lift -0.182 -0.056 0.097 0.238 4 0.421 0.479 0.654 1.099 21 1.059 (20 points) 2.43. Assume that we would like to use linear interpolation to determine the coefficients of lift for additional flight-path angles that are between -4 degrees and 21 degrees. Write a program 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.Explanation / Answer
save the following as a .c file and run :-)
#include<stdio.h>
int main()
{
float Angle_lower , Angle_upper, CL_lower , CL_upper, Angle_required, CL_required,slope;
printf ("Data of First point (lower point): Enter angle and CL for Lower angle separated by space:");
scanf("%f %f", &Angle_lower , &CL_lower);
printf ("Data of Second point (upper point): Enter angle and CL for Upper angle separated by space:");
scanf("%f %f", &Angle_upper , &CL_upper);
printf("Enter the angle( in between lower and upper angles) at which you need CL: ");
scanf("%f",&Angle_required );
// calculating using linear interpolation
slope = ( CL_upper-CL_lower)/(Angle_upper-Angle_lower);
CL_required = CL_lower + slope* (Angle_required-Angle_lower);
printf(" CL at the required angle = %f", CL_required);
return 0;
}
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.