diff options
Diffstat (limited to '1460/CH11/EX11.9/11_9.sce')
-rwxr-xr-x | 1460/CH11/EX11.9/11_9.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/1460/CH11/EX11.9/11_9.sce b/1460/CH11/EX11.9/11_9.sce new file mode 100755 index 000000000..c2a1995f9 --- /dev/null +++ b/1460/CH11/EX11.9/11_9.sce @@ -0,0 +1,12 @@ +clc
+//initialization of variables
+V=1000 //mph
+P=14.7 //lb/in^2
+T=60 //F
+g=1.4
+//calculations
+V1=V*(88/T)
+Pratio=(1+ (g-1)*V1^2 /(2*g*32.2*53.3*(T+460)))^(g/(g-1))
+eta=1-1/(Pratio)^0.286
+//results
+printf("Theoretical cycle efficiency = %.3f",eta)
|