summaryrefslogtreecommitdiff
path: root/2135/CH1/EX1.7
diff options
context:
space:
mode:
Diffstat (limited to '2135/CH1/EX1.7')
-rwxr-xr-x2135/CH1/EX1.7/Exa_1_7.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2135/CH1/EX1.7/Exa_1_7.sce b/2135/CH1/EX1.7/Exa_1_7.sce
new file mode 100755
index 000000000..1c093edd9
--- /dev/null
+++ b/2135/CH1/EX1.7/Exa_1_7.sce
@@ -0,0 +1,22 @@
+//Exa 1.7
+clc;
+clear;
+close;
+format('v',7);
+
+//Given Data :
+rho=1000;//Kg/m^3
+d=0.3;//m
+C=1.5;//m/s
+h=4.5;//m
+FlowRate=2000;//Kg/min
+d2=15/100;//diameter of discharging line in meter
+t=15;//min
+r=3;//m
+WaterDischarge=rho*%pi/4*(d/2)^2*C*t*60;//Kg
+WaterReceived=FlowRate*t;//Kg
+NetWaterReceived=WaterReceived-WaterDischarge;//Kg
+disp(NetWaterReceived,"Mass change in tank in Kg : ");
+//m=rho*A*h
+h=NetWaterReceived/rho/(%pi/4*r^2);//m
+disp(h,"Water level in meter : ");