summaryrefslogtreecommitdiff
path: root/3831/CH16/EX16.10/Ex16_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3831/CH16/EX16.10/Ex16_10.sce')
-rw-r--r--3831/CH16/EX16.10/Ex16_10.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/3831/CH16/EX16.10/Ex16_10.sce b/3831/CH16/EX16.10/Ex16_10.sce
new file mode 100644
index 000000000..2d64a15c2
--- /dev/null
+++ b/3831/CH16/EX16.10/Ex16_10.sce
@@ -0,0 +1,16 @@
+// Example 16_10
+clc;funcprot(0);
+// Given data
+m=5.00*10^-3;// kg
+T=20.0+273.15;// K
+p=101.3*10^3;// kg/(m.s^2)
+R=286;// m^2/(s^2.K)
+D=3.00*10^-3;// m
+g=9.81;// m/s^2
+g_c=1;// The gravitational constant
+
+// Calculation
+W=(m*g)/g_c;// N
+rho=p/(R*T);// kg/m^3
+V_in=((4*g_c*W)/(rho*%pi*D^2))^(1/2);// m/s
+printf("\nThe velocity of the jet,V_in=%2.1f m/s",V_in);