From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1457/CH6/EX6.7/6_7.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 1457/CH6/EX6.7/6_7.sce (limited to '1457/CH6/EX6.7') 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) -- cgit