summaryrefslogtreecommitdiff
path: root/1460/CH4/EX4.7/4_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1460/CH4/EX4.7/4_7.sce')
-rwxr-xr-x1460/CH4/EX4.7/4_7.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/1460/CH4/EX4.7/4_7.sce b/1460/CH4/EX4.7/4_7.sce
new file mode 100755
index 000000000..3df6261be
--- /dev/null
+++ b/1460/CH4/EX4.7/4_7.sce
@@ -0,0 +1,14 @@
+clc
+//Initialization of variables
+w1=100 //lbm
+w2=2 //lbm
+h1=127 //B/lbm
+h2=125 //B/lbm
+hc=401 //B/lbm
+//calculations
+ht1=w1*h1
+ht2=w2*h2
+ht3=(w1+w2)*hc
+Q=ht3-ht1-ht2
+//results
+printf("Heat liberated = %d B/sec",Q)