summaryrefslogtreecommitdiff
path: root/1286/CH1/EX1.2
diff options
context:
space:
mode:
Diffstat (limited to '1286/CH1/EX1.2')
-rwxr-xr-x1286/CH1/EX1.2/1_2.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1286/CH1/EX1.2/1_2.sce b/1286/CH1/EX1.2/1_2.sce
new file mode 100755
index 000000000..9ce333975
--- /dev/null
+++ b/1286/CH1/EX1.2/1_2.sce
@@ -0,0 +1,11 @@
+clc
+//initialisation of variables
+n= 1/1000
+T= 60 //degrees
+T1= 100 //degrees
+//CALCULATIONS
+r= T-n*T^2
+r1= T1-n*T1^2
+tl= r*100/r1
+//RESULTS
+printf (' liquid temperature= % 1f C',tl)