summaryrefslogtreecommitdiff
path: root/1286/CH3/EX3.17/3_17.sce
diff options
context:
space:
mode:
Diffstat (limited to '1286/CH3/EX3.17/3_17.sce')
-rwxr-xr-x1286/CH3/EX3.17/3_17.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/1286/CH3/EX3.17/3_17.sce b/1286/CH3/EX3.17/3_17.sce
new file mode 100755
index 000000000..e1db0b1bd
--- /dev/null
+++ b/1286/CH3/EX3.17/3_17.sce
@@ -0,0 +1,15 @@
+clc
+//initialisation
+p1=1
+p2=0.8
+t1=25//c
+t2=10//c
+p=0.4
+t3=61//c
+t4=12//c
+//calculations
+p1=p*(t3-t4)
+m=(t1-t2)
+c=m/p1
+//results
+printf(' specific heat of liquid= % 1f cal/gm*c',c)