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 /1457/CH6/EX6.7 | |
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 '1457/CH6/EX6.7')
-rwxr-xr-x | 1457/CH6/EX6.7/6_7.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/1457/CH6/EX6.7/6_7.sce b/1457/CH6/EX6.7/6_7.sce new file mode 100755 index 000000000..177de98e0 --- /dev/null +++ b/1457/CH6/EX6.7/6_7.sce @@ -0,0 +1,20 @@ +clc
+//Initialization of variables
+V1=8.02 //fps
+V2=16.04 //fps
+Q=481 //cfs
+rho=1.94
+A=10*6
+d=3
+//calculations
+Fx=62.4*d*A - 62.4*d/2 *A/2 - rho*Q*(V2-V1)
+V1m=2.56 //m/s
+V2m=5.12 //m/s
+Qm=15.4 //m^2/s
+dm=1
+Am=2*3
+rhom=1
+Fxm=9.81*dm*Am - 9.81*dm/2 *Am/2 - rhom*Qm*(V2m-V1m)
+//results
+printf("Force in x- direction = %d lb",Fx)
+printf("Force in x- direction = %.1f kN",Fxm)
|