summaryrefslogtreecommitdiff
path: root/2519/CH11/EX11.1/Ex11_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2519/CH11/EX11.1/Ex11_1.sce')
-rwxr-xr-x2519/CH11/EX11.1/Ex11_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2519/CH11/EX11.1/Ex11_1.sce b/2519/CH11/EX11.1/Ex11_1.sce
new file mode 100755
index 000000000..49f282c62
--- /dev/null
+++ b/2519/CH11/EX11.1/Ex11_1.sce
@@ -0,0 +1,15 @@
+clc
+clear
+//Initialization of variables
+n=1.3
+T1=460+60 //R
+P1=14.7 //psia
+P2=125 //psia
+R=1545
+M=29
+//calculations
+T2=T1*(P2/P1)^((n-1)/n)
+wrev=R/M *(T2-T1)/(1-n)
+//results
+printf("Work done = %d ft-lbf/lbm",wrev)
+disp("The answer is a bit different due to rounding off error in textbook")