diff options
Diffstat (limited to '2024/CH9/EX9.4/9_4.sce')
-rwxr-xr-x | 2024/CH9/EX9.4/9_4.sce | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/2024/CH9/EX9.4/9_4.sce b/2024/CH9/EX9.4/9_4.sce new file mode 100755 index 000000000..c1eca187c --- /dev/null +++ b/2024/CH9/EX9.4/9_4.sce @@ -0,0 +1,26 @@ +clc
+//Initialization of variables
+J=778
+g=32.2
+pc=54.6 //psia
+h1=1329.1 //Btu/lbm
+h2=1265 //btu/lbm
+V2rev=1790 //ft/s
+cv=0.99
+m=1 //lbm
+cv2=0.96
+//calculations
+V2d=cv*V2rev
+hd=cv^2 *(h1-h2)
+h2d=h1-hd
+v2d=9.946
+A2d=m*v2d/V2d
+dh=-154.3
+V3=2775 //ft/s
+V3d=cv2*V3
+h3d= h1+ cv2^2 *dh
+v3d=22.05 //ft^3/lbm
+A3d=m*v3d/V3d
+//results
+printf("Throat area in case 2 = %.4f ft^2",A2d)
+printf("\n Throat area in case 3 = %.5f ft^2",A3d)
|