summaryrefslogtreecommitdiff
path: root/1460/CH6/EX6.3
diff options
context:
space:
mode:
Diffstat (limited to '1460/CH6/EX6.3')
-rwxr-xr-x1460/CH6/EX6.3/6_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1460/CH6/EX6.3/6_3.sce b/1460/CH6/EX6.3/6_3.sce
new file mode 100755
index 000000000..281c71126
--- /dev/null
+++ b/1460/CH6/EX6.3/6_3.sce
@@ -0,0 +1,11 @@
+clc
+//Initialization of variables
+T1=1400+460 //R
+T2=1200+460 //R
+//calculations
+function [cp] = Cp(T)
+ cp=0.317- 1.2*100/T +4*10^4 /T^2
+endfunction
+dh=intg(T1,T2,Cp)
+//results
+printf("Change in stagnation enthalpy = %.1f B/lbm",dh)