summaryrefslogtreecommitdiff
path: root/2417/CH3/EX3.5/Ex3_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '2417/CH3/EX3.5/Ex3_5.sce')
-rwxr-xr-x2417/CH3/EX3.5/Ex3_5.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2417/CH3/EX3.5/Ex3_5.sce b/2417/CH3/EX3.5/Ex3_5.sce
new file mode 100755
index 000000000..74430dfda
--- /dev/null
+++ b/2417/CH3/EX3.5/Ex3_5.sce
@@ -0,0 +1,19 @@
+clear;
+clc;
+printf("\t\t\tProblem Number 3.5\n\n\n");
+// Chapter 3 : The First Law Of Thermodynamics
+// Problem 3.5 (page no. 96)
+// Solution
+
+P1=100 //Unit:psia //Pressure at the entrance to a steady-flow device
+Rho1=62.4 //Unit:lbm/ft^3 //the density of the fluid
+A1V1=10000 //Unit:ft^3/min //Entering fluid
+A2=2 //Unit:ft^2 //Exit area
+m=Rho1*A1V1; //Unit:lbm/min //mass rate of flow per unit time
+printf("Mass flow rate is %f LBm/min\n",m);
+
+Rho2=Rho1; //Unit:lbm/ft^3 //the density of the fluid
+//m=Rho2*A2*V2
+//So,
+V2=m/(Rho2*A2); //velocity at exit //Unit:ft/min
+printf("The exit velocity is %f ft/min",V2);