summaryrefslogtreecommitdiff
path: root/2024/CH6/EX6.7/6_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '2024/CH6/EX6.7/6_7.sce')
-rwxr-xr-x2024/CH6/EX6.7/6_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/2024/CH6/EX6.7/6_7.sce b/2024/CH6/EX6.7/6_7.sce
new file mode 100755
index 000000000..5311e762b
--- /dev/null
+++ b/2024/CH6/EX6.7/6_7.sce
@@ -0,0 +1,16 @@
+clc
+//Initialization of variables
+sf=0.12948
+dt=0.32 //F
+t1=100 //F
+x=0.6
+//calculations
+t2=t1+dt
+hf=67.97
+ht=2.7
+hp=0.3
+h2=hf+ht+hp
+Wrev=hf-h2
+Wact=Wrev/x
+//results
+printf("Actual work done = %.1f Btu/lbm",Wact)