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 /1466/CH6/EX6.3/6_3.sce | |
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 '1466/CH6/EX6.3/6_3.sce')
-rwxr-xr-x | 1466/CH6/EX6.3/6_3.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1466/CH6/EX6.3/6_3.sce b/1466/CH6/EX6.3/6_3.sce new file mode 100755 index 000000000..76ee41128 --- /dev/null +++ b/1466/CH6/EX6.3/6_3.sce @@ -0,0 +1,20 @@ +
+
+clc
+//initialisation of variables
+clear
+V= 80 //ft/sec
+v= 40 //ft/sec
+a= 30 //degrees
+b= 20 //degrees
+g= 32.2 //ft/sec^2
+//CALCULATIONS
+O= atand(V*sind(a)/(V*cosd(a)-v))
+Vr= v/sind(O)
+V1= Vr*sind(b/5)/sind(b)
+W= v*(V*cosd(a)+V1*cosd(a))/g
+e= W*2*g*100/V^2
+//RESULTS
+printf (' Velocity = %.2f ft/sec',V1+0.01)
+printf (' \n Work done = %.1f ft-lb/sec',W+1)
+printf (' \n Efficiency = %.1f per cent',e+1)
|