diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /557/CH12/EX12.1 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '557/CH12/EX12.1')
-rwxr-xr-x | 557/CH12/EX12.1/1.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/557/CH12/EX12.1/1.sce b/557/CH12/EX12.1/1.sce new file mode 100755 index 000000000..062e3e404 --- /dev/null +++ b/557/CH12/EX12.1/1.sce @@ -0,0 +1,17 @@ +clc; funcprot(0);//Example 12.1
+
+//Initializing the variables
+x =35;
+T = 50;
+m = 1;
+g =9.81;
+rho = 1.2;
+A = 1.2;
+U0 = 40*1000/3600; // Velocity in m/s
+
+//Calculations
+L = T*sind(x)+m*g;
+D =T*cosd(x);
+Cl = 2*L/(rho*U0^2*A);
+Cd = 2*D/(rho*U0^2*A);
+disp(Cd,"Drag Coefficient :",Cl,"Lift Coefficient :");
\ No newline at end of file |