summaryrefslogtreecommitdiff
path: root/2024/CH9/EX9.8/9_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2024/CH9/EX9.8/9_8.sce')
-rwxr-xr-x2024/CH9/EX9.8/9_8.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2024/CH9/EX9.8/9_8.sce b/2024/CH9/EX9.8/9_8.sce
new file mode 100755
index 000000000..d4956cd84
--- /dev/null
+++ b/2024/CH9/EX9.8/9_8.sce
@@ -0,0 +1,17 @@
+clc
+//Initialization of variables
+pt=54.6 //psia
+dh=64.1 //Btu/lbm
+dh2=154.3 //Btu/lbm
+vt=9.844 //ft^3/lbm
+vt2=21.279 //ft^3/lbm
+C=0.98
+J=778
+g=32.17
+m=1 //lbm/sec
+//calculations
+At=m/C *sqrt(vt^2 /(2*g*J*dh))
+A2=m/C *sqrt(vt2^2 /(2*g*J*dh2))
+//results
+printf("Throat area = %.4f ft^2",At)
+printf("\n Area at part 2 = %.5f ft^2",A2)