summaryrefslogtreecommitdiff
path: root/548/CH6/EX6.3.a
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /548/CH6/EX6.3.a
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '548/CH6/EX6.3.a')
-rwxr-xr-x548/CH6/EX6.3.a/6_3a.JPGbin0 -> 20836 bytes
-rwxr-xr-x548/CH6/EX6.3.a/6_3a.sce18
2 files changed, 18 insertions, 0 deletions
diff --git a/548/CH6/EX6.3.a/6_3a.JPG b/548/CH6/EX6.3.a/6_3a.JPG
new file mode 100755
index 000000000..ac8a12118
--- /dev/null
+++ b/548/CH6/EX6.3.a/6_3a.JPG
Binary files differ
diff --git a/548/CH6/EX6.3.a/6_3a.sce b/548/CH6/EX6.3.a/6_3a.sce
new file mode 100755
index 000000000..75c8ab663
--- /dev/null
+++ b/548/CH6/EX6.3.a/6_3a.sce
@@ -0,0 +1,18 @@
+pathname=get_absolute_file_path('6_3a.sce')
+filename=pathname+filesep()+'6_3a_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;
+ Power(i)=Thrust(i)*V(i);
+ i = i+1;
+end
+xlabel("Velocity (m/s)");
+ylabel("Power (KN-m/s)");
+plot2d(V,Power,5);
+