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 /1364/CH7/EX7.7.1/7_7_1.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 '1364/CH7/EX7.7.1/7_7_1.sce')
-rwxr-xr-x | 1364/CH7/EX7.7.1/7_7_1.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1364/CH7/EX7.7.1/7_7_1.sce b/1364/CH7/EX7.7.1/7_7_1.sce new file mode 100755 index 000000000..0172d368c --- /dev/null +++ b/1364/CH7/EX7.7.1/7_7_1.sce @@ -0,0 +1,20 @@ +clc
+//initialisation of variables
+l= 100 //ft
+w= 62.4 //lbf/ft^3
+d= 4 //in
+v= 15 //ft/sec
+p= 53//lbf/in^2
+p1= 33 //lbf/in^2
+a= 45 //degrees
+//CALCULATIONS
+W= w*(%pi/4)*d^2*l/144
+k= w*v^2/(32.2*144)
+F1= p*(%pi/4)*d^2
+F2= p1*(%pi/4)*d^2
+F= F2*cosd(a)
+F3= F1-F
+F4= W-F
+//RESULTS
+printf (' horizontalforce = %.f lbf',F3-1)
+printf (' \n vertical force = %.f lbf',F4-10)
|