summaryrefslogtreecommitdiff
path: root/2165/CH8/EX8.21/8_21.sce
diff options
context:
space:
mode:
Diffstat (limited to '2165/CH8/EX8.21/8_21.sce')
-rwxr-xr-x2165/CH8/EX8.21/8_21.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/2165/CH8/EX8.21/8_21.sce b/2165/CH8/EX8.21/8_21.sce
new file mode 100755
index 000000000..6c67b89c4
--- /dev/null
+++ b/2165/CH8/EX8.21/8_21.sce
@@ -0,0 +1,21 @@
+
+clc
+//initialisation of variables
+v=18//ft^3
+p=14//lb/in^2
+p1=150//lb/in^2
+Cp=0.242//T
+Cv=0.171//T
+j=1400//ft
+R=j*(Cp-Cv)//ft.lb
+p2=144//ft
+I1=137500//ft/lb
+I2=6.37//ft/lb
+v2=3.282//ft^3
+//CALCULATIONS
+T=(p2*p*v)/R//Degree C
+T2=(p2*p1*v2)/(R)//Degree c
+W=Cp*(T2-T)+0.00002*[(T2)^2-(T)^2]//C.H.U/lb
+C=v/v2//ratio
+//RESULTS
+printf('The work done the temperatures at the beginning and end of compression ratio=% f ratio',C)