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/CH8/EX8.2/8_2.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 1457/CH8/EX8.2/8_2.sce (limited to '1457/CH8/EX8.2/8_2.sce') diff --git a/1457/CH8/EX8.2/8_2.sce b/1457/CH8/EX8.2/8_2.sce new file mode 100755 index 000000000..4cef5a81d --- /dev/null +++ b/1457/CH8/EX8.2/8_2.sce @@ -0,0 +1,19 @@ +clc +//Initialization of variables +Vc=12.7 //cm/s +r=2 //cm +r2=5 //cm +R=354 +rho=0.85 +V=6.37 //cm/s +D=0.1 //m +//calculations +k=Vc/r2^2 +f=64/R +T0=f/4 *rho*V^2 /2 +T02=T0/10 +hr=f*(V*10^-2)^2 /(2*9.81*D) +//results +printf("Friction factor = %.2f",f) +printf("\n Shear stress at the pipe wall = %.3f N/m^2",T02) +printf("\n Head loss per pipe length = %.5f m/m",hr) -- cgit