summaryrefslogtreecommitdiff
path: root/1388/CH3/EX3.19/3_19.sce
diff options
context:
space:
mode:
Diffstat (limited to '1388/CH3/EX3.19/3_19.sce')
-rwxr-xr-x1388/CH3/EX3.19/3_19.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1388/CH3/EX3.19/3_19.sce b/1388/CH3/EX3.19/3_19.sce
new file mode 100755
index 000000000..f4e5c47ac
--- /dev/null
+++ b/1388/CH3/EX3.19/3_19.sce
@@ -0,0 +1,16 @@
+clc
+//initialisation of variables
+H1= 1350 //cal
+H2= 9713 //cal
+H3= 244 //cal
+H4= 0 //cal
+E1= 1350 //cal
+E2= 8971 //cal
+E3= 185 //cal
+E4= 0 //cal
+//RESULTS
+H= H1+H2+H3+H4
+E= E1+E2+E3+E4
+//RESULTS
+printf (' Enthalpy= %.f cal ',H)
+printf (' \n Energy= %.f cal ',E)