diff options
Diffstat (limited to '172/CH3/EX3.10/ex10.sce')
-rwxr-xr-x | 172/CH3/EX3.10/ex10.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/172/CH3/EX3.10/ex10.sce b/172/CH3/EX3.10/ex10.sce new file mode 100755 index 000000000..61ac81d16 --- /dev/null +++ b/172/CH3/EX3.10/ex10.sce @@ -0,0 +1,13 @@ +//example 10
+//mass flow rate
+clear
+clc
+dt=185 //time period in seconds over which there is incrrease in volume
+dV=0.75 //increase in volume in 0.75 in m^3
+V=dV/dt //volume flow rate in m^3/s
+P=105 //pressure inside gas bell kPa
+T=21 //temperature in celsius
+R=0.1889 //ideal gas constant in kJ/kg-K
+m=P*V/(R*(T+273.15)) //mass flow rate of the flow in kg/s
+printf("\n hence,mass flow rate is m = %.3f kg/s. \n",m)
+printf("\n and volume flow rate is V = %.3f m^3/s. \n",V)
\ No newline at end of file |