From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 746/CH8/EX8.11/8_11.sce | 26 -------------------------- 1 file changed, 26 deletions(-) delete mode 100755 746/CH8/EX8.11/8_11.sce (limited to '746/CH8/EX8.11') diff --git a/746/CH8/EX8.11/8_11.sce b/746/CH8/EX8.11/8_11.sce deleted file mode 100755 index 1ac0346b6..000000000 --- a/746/CH8/EX8.11/8_11.sce +++ /dev/null @@ -1,26 +0,0 @@ -//Diameter and head// -pathname=get_absolute_file_path('8.11.sce') -filename=pathname+filesep()+'8.11-data.sci' -exec(filename) - -//Value of K*B^2: -K_B=Q/(%pi/4*D^2)*sqrt(0.5*d1/g/d2/h) -//Reynods number: -ReD1=4/%pi*Q/D/v -//By trial and error method, the value of beta is fixed at: -betta=0.66; -//K is then: -K=K_B/betta^2 -//Diameter of orifice plate(in m): -Dt=betta*D -//Value of p3-p2(in N/m^2): -P1=d1*Q^2/(%pi/4*D^2)^2*(1/0.65/betta^2-1) -//Value of p1-p2(in N/m^2): -P2=d2*g*h -//Head loss between sections 1 and 3(in N-m/kg): -hLT=(P2-P1)/d1 -//Expressing the permanent pressure as a fractio of the meter differential: -C=(P2-P1)/P2 -printf("\n\n\nRESULTS\n\n") -printf("\n\nDiameter of the orifice: %.3f m\n\n",Dt) -printf("\n\nHead loss between secions 1 and 3: %.3f N-m/kg\n\n",hLT) -- cgit