summaryrefslogtreecommitdiff
path: root/689/CH8/EX8.6/6.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /689/CH8/EX8.6/6.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '689/CH8/EX8.6/6.sce')
-rw-r--r--689/CH8/EX8.6/6.sce26
1 files changed, 26 insertions, 0 deletions
diff --git a/689/CH8/EX8.6/6.sce b/689/CH8/EX8.6/6.sce
new file mode 100644
index 000000000..0a5bd7261
--- /dev/null
+++ b/689/CH8/EX8.6/6.sce
@@ -0,0 +1,26 @@
+clc; funcprot(0);
+//Example 8.5 Flying Level at Altitude
+
+// Initialisation of variables
+W = 4000;
+S = 350;
+V = 100*1.467;
+rho = 0.002378;
+
+// Calculations
+Cl = 2*(W/S)/(rho*V^2);
+alpha = 1.5; // From fig 8.15
+Cd = 0.0217; // From fig 8.15
+D = Cd*(rho/2)*S*V^2;
+HP = D*V/550;
+
+// At 10000 ft altitude density is lower as compared to the density at sea level.
+rhoX = 0.001756;
+Cl = 2*(W/S)/(rhoX*V^2);
+alpha = 3.5; // From fig 8.15
+Cd = 0.0308; // From fig 8.15
+D1 = Cd*(rhoX/2)*S*V^2;
+HP1 = D1*V/550;
+
+//Results
+disp(HP1,"Horse power required to move the wing forward(hp) :",D1,"Drag (lb):","!------Part (b)------!",HP,"Horse power required to move the wing forward(hp) :",D,"Drag (lb):","!------Part (a)------!"); \ No newline at end of file