Question

4. The following formulas are commonly used by engineers to predict the lift and drag of an airfoil: L 30,8V2, 3PCSV? D where
(a) Plot the lift and drag of the airfoil versus V for 0 <V < 150 mi/hr, with a resolution of 0.01. Use the values p = 0.0023

use matlab to solve
0 0
Add a comment Improve this question Transcribed image text
Answer #1

% Matlab code to plot a graph of Lift Force v/s Velocity, Drag Force v/s
% Velocity and plot of Cl/Cd vs alpha

%a.
% define the variables
p = 0.002378; % slug/ft^3
S = 36; % ft
a = 1; % degrees

% create vector V containing velocity values from 0 to 150 in steps of 0.01
% in mi/hr and convert them into ft/sec
V = (0:0.01:150).*(5280/3600); % ft/sec

% calculate lift and drag coefficient
Cl = (4.47 * (10^-5) * (a^3))+(1.15 * (10^-3) * (a^2)) + (6.66 * (10 ^ -2 ) * a) + (1.02 * (10 ^-1));
Cd = (5.75 * (10^-6) * (a^3))+(5.09 * (10^-4) * (a^2)) + (1.8 * (10 ^ -4 ) * a) + (1.25 * (10 ^-2));

% calculate the lift force using element by element operation
L = (p.*Cl.*S.*(V.^2))./2;
% calculate the lift force using element by element operation
D = (p.*Cd.*S.*(V.^2))./2;

% plot lift force in y-axis and velocity in x-axis
figure(1);
plot(V,L);
xlabel('Velocity(ft/sec)');
ylabel('Lift Force');
title('Plot of Lift Force v/s Velocity');
grid on;

% plot drag force in y-axis and velocity in x-axis
figure(2);
plot(V,D);
xlabel('Velocity(ft/sec)');
ylabel('Drag Force');
title('Plot of Drag Force v/s Velocity');
grid on;


%b.
% create vector alpha from -2 to 22 degrees in steps of 0.01
a = (-2:0.01:22);

% create vectors for CL and CD of same size as alpha
CL = zeros(size(a));
CD = zeros(size(a));

% create vector of same size as alpha to store the ratio of CL and CD
ratio_L_D = zeros(size(a));

% loop to calculate CL and CD for different values of alpha and calculate
% their ratio
for i=1:length(a)
CL(i) = (4.47 * (10^-5) * (a(i)^3))+(1.15 * (10^-3) * (a(i)^2)) + (6.66 * (10 ^ -2 ) * a(i)) + (1.02 * (10 ^-1));
CD(i) = (5.75 * (10^-6) * (a(i)^3))+(5.09 * (10^-4) * (a(i)^2)) + (1.8 * (10 ^ -4 ) * a(i)) + (1.25 * (10 ^-2));
ratio_L_D(i) = CL(i)/CD(i);
end

figure(3);
plot(a,ratio_L_D);
title('Plot of L/D v/s alpha');
xlabel('alpha');
ylabel('L/D');
grid on;

% determine the maximum value of L/D and the index at which this
% maximum value is found using max function
[ratio_max,I] = max(ratio_L_D);

% display the maximum value of L/D and the angle of attack which maximizes
% the ratio
fprintf('Maximum value of L/D is %f and the angle of attack that maximizes is %f degrees.\n',ratio_max, a(I(1)));

%end of script

Output:

Figure 1 Х Eile Edit View Insert Tools Desktop Window Help Plot of Lift Force v/s Velocity 400 350 300 250 Lift Force 200 150

Figure 2 Eile Edit View Insert Tools Desktop Window Help Plot of Drag Force v/s Velocity 30 25 20 Drag Force 15 10 5 0 0 50 2

Maximum value of L/D is 17.944793 and the angle of attack that maximizes is 3.810000 degrees. Figure 3 Eile Edit View Insert

Add a comment
Know the answer?
Add Answer to:
use matlab to solve 4. The following formulas are commonly used by engineers to predict the...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • A Matlab introductory class Problem. The book for my class is "Introduction to MATLAB For Engineers,...

    A Matlab introductory class Problem. The book for my class is "Introduction to MATLAB For Engineers, Third edition by William J. Palm I have solved the top speed, the time to reach top speed, and the speed the plane takes off at. this is what I have. I need help on the graphing portion of the problem I will give you a Thumbs Up if you solve this part for me. Thank You. LOOPING THE PLANE EGME 205, Fall 2018...

  • 1. For the airfoil Cp data shown below; • What is the maximum airspeed in flow...

    1. For the airfoil Cp data shown below; • What is the maximum airspeed in flow just outside the boundary layer if the freestream speed Vo = 120 m/s? • What is the local Mach number at this point if the altitude is 12 km? • What is the approximate value of C, for these conditions? Ans: V = 204.35 m/s, M = 0.693, CL ~ 1.15. -1.00 .. .... -0.50 .... ..... 0 0.1 0.2 0.3 0.4 0.5 0.6...

  • use a Reynolds number of 2.6x10^5 to find using graphs 2. Consider an NACA 23015 airfoil...

    use a Reynolds number of 2.6x10^5 to find using graphs 2. Consider an NACA 23015 airfoil (Fig 5.2a and 5.2b in text) with a chord of 0.64 m in an airstream 1000m above sea level conditions. The freestream velocity is 70 m/s. The lift per unit span is 1200 N/m. Calculate the angle of attack and the drag per unit span. (See example 4.1) CHAPTER S incompressible Flow over Finite Wings Section lift coefficient - Moment coefficient, -20 -32 -24...

  • Problem 1 Using Excel create a graph of the following theoretical function for Lift of an...

    Problem 1 Using Excel create a graph of the following theoretical function for Lift of an airplane (Lift vs. Velocity) for 2 lift coefficients CL Create your Excel sheet so you are using absolute references for the constants. Your Velocity (x values) should range from 300 ft/s to 700 ft/s. You must choose an appropriate step size to create a smooth plot. Use good graphing practices. Where: L -Lift (lb) C Lift Coefficient (unitless), use 0.30 and 0.52 for this...

  • Question 2.10 A two-dimensional wedge-shaped airfoil, with chord, c, consists of straight-line segments with wedge angl...

    Question 2.10 A two-dimensional wedge-shaped airfoil, with chord, c, consists of straight-line segments with wedge angles, θ¡et and θaf, at the leading and trailing edges, as defined in the figure and given in the table below. The airfoil operates at an angle of attack, α, and it is moving through air at a supersonic speed, M. The atmospheric temperature and pressure far upstream of the airfoil are T and p as specified in the table The various flow regions are...

  • Please show matlab editor and command window B. (4 pts) Use the : operator to create...

    Please show matlab editor and command window B. (4 pts) Use the : operator to create the vectors x [2.5,1.50.5,-0.5,-1.51 and y [0.4,0.8,1.2,1.6,2], then use them in the following expression to compute vector z using element-by-element calculations C. (8 pts) A 70 lb bag of rice is being pulled by applying a force F at an angle θ as shown. The force required to drag the bag is given by: θ μ sin θ + cos θ Where u-0.35 is...

  • A wind tunnel test conducted on an airfoil section yielded the following data between the lift...

    A wind tunnel test conducted on an airfoil section yielded the following data between the lift coefficient (CL) and the angle of attack (?): 12 1.40 16 1.71 20 1.38 de CL 0.11 0.55 0.95 You are required to develop a suitable polynomial relationship between ? and CL and fit a curve to the data points by the least-squares method using (a) hand calculations and (b) Matlab programming Hint: A quadratic equation (parabola) y(x)-aa,x +a x' can be used in...

  • SOLVE USING MATLAB PLEASE THANKS! The governing differential equation for the deflection of a cantilever beam...

    SOLVE USING MATLAB PLEASE THANKS! The governing differential equation for the deflection of a cantilever beam subjected to a point load at its free end (Fig. 1) is given by: 2 dx2 where E is elastic modulus, Izz is beam moment of inertia, y 1s beam deflection, P is the point load, and x is the distance along the beam measured from the free end. The boundary conditions are the deflection y(L) is zero and the slope (dy/dx) at x-L...

  • Experiment (7) Drag Force TASK DETAILS Students must use the following equation in order to calculate...

    Experiment (7) Drag Force TASK DETAILS Students must use the following equation in order to calculate the drag force on a cylindrical sample placed inside a wind tunnel at varying velocities 1 For CopAV Where: Cp is the drag coefficient p is the density of the fluid through which the body is moving (Pair = 1.225 kg/m?) v is the velocity of the body relative to the fluid A is the projected cross-sectional area of the body perpendicular to the...

  • Please don't attempt if you can not write a MATLAB PROGRAM. I don't need numerical physics...

    Please don't attempt if you can not write a MATLAB PROGRAM. I don't need numerical physics solution, I need MATLAB code. Read the question carefully 2) Falling Drops Imagine a solid sphere of diameter, d, falling through the air. After its release, the sphere accelerates until it reaches its terminal velocity. The terminal velocity is obtained when the drag force due to air friction, Fa, balances the weight of the sphere, W. The weight of the sphere is simply its...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT