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 --- 1187/CH7/EX7.5/5.sce | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 1187/CH7/EX7.5/5.sce (limited to '1187/CH7/EX7.5') diff --git a/1187/CH7/EX7.5/5.sce b/1187/CH7/EX7.5/5.sce new file mode 100755 index 000000000..f15ef340c --- /dev/null +++ b/1187/CH7/EX7.5/5.sce @@ -0,0 +1,28 @@ +clc + +disp("(a) Feed is at the end of the main") +Q0=4.5*10^-3; // m^3/s +d=0.1; // m +l=4.5*10^3; // m +g=9.81; // m/s^2 +f=0.006; +rho=1000; // kg/m^3 + +u0=Q0/(%pi/4*d^2); +h_f=4*f*u0^2*l/3/(d*2*g); + +dp=h_f*rho*g; +disp("Pressure difference =") +disp(dp) +disp("N/m^2") + +disp("(b) Feed is at the centre of the main") + +Q0_b=Q0/2; +u0_b=u0/2; +l_b=l/2; + +dp_b=(u0_b/u0)^2*(l_b/l)*dp; +disp("Pressure difference =") +disp(dp_b) +disp("N/m^2") \ No newline at end of file -- cgit