summaryrefslogtreecommitdiff
path: root/172/CH3/EX3.10/ex10.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /172/CH3/EX3.10/ex10.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '172/CH3/EX3.10/ex10.sce')
-rwxr-xr-x172/CH3/EX3.10/ex10.sce13
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