diff options
Diffstat (limited to '548/CH6/EX6.6/6_06.sce')
-rwxr-xr-x | 548/CH6/EX6.6/6_06.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/548/CH6/EX6.6/6_06.sce b/548/CH6/EX6.6/6_06.sce new file mode 100755 index 000000000..65f9769bb --- /dev/null +++ b/548/CH6/EX6.6/6_06.sce @@ -0,0 +1,20 @@ +pathname=get_absolute_file_path('6_06.sce')
+filename=pathname+filesep()+'6_06data.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;
+ Power(i)=Thrust(i)*V(i);
+ R_C(i)=(Pa-Power(i))*1000*60/W;//rate of climb(R/C in meter per minute)
+ i = i+1;
+end
+xlabel("Velocity (m/s)");
+ylabel("Rate of climb(m/min) for CP-1");
+plot2d(V,R_C,4);
+
|