diff options
Diffstat (limited to '896/CH5/EX5.5/5.sce')
-rwxr-xr-x | 896/CH5/EX5.5/5.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/896/CH5/EX5.5/5.sce b/896/CH5/EX5.5/5.sce new file mode 100755 index 000000000..9a1349d6f --- /dev/null +++ b/896/CH5/EX5.5/5.sce @@ -0,0 +1,9 @@ +clc
+//Example 5.5
+//calculate the velocity of water flowing out of a nozzle
+g=32.2//ft/s^2
+h=30//ft
+M_air=29//dimentionless (molecular weight)
+M_CO2=44//dimentionless (molecular weight)
+v=(2*g*h*(1-(M_air/M_CO2)))^0.5//ft/s
+printf("The velocity of water flowing out of nozzle is %f ft/s",v);
\ No newline at end of file |