blob: b2159f4a7aee49dc2c4b01b5dd543f69080b0ba1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
pathname=get_absolute_file_path('6_1a.sce')
filename=pathname+filesep()+'6_1a_data.sci'
exec(filename)
clf();
i = 1;
Cl = 0;Cd = 0;Cl_Cd =0;Thrust = 0;
while(i<=length(V))
Cl(i) = 2*W/(D*S*V(i)^2);
Cd(i) = Cdo + Cl(i)^2/(%pi*e*AR);
Cl_Cd(i) = Cl(i)/Cd(i);
Thrust(i) = W/Cl_Cd(i)/1000;
i = i+1;
end
xlabel("Velocity (m/s)");
ylabel("Thrust (kN)");
plot2d(V,Thrust,3);
|