summaryrefslogtreecommitdiff
path: root/1991/CH6/EX6.12/12.sce
diff options
context:
space:
mode:
Diffstat (limited to '1991/CH6/EX6.12/12.sce')
-rwxr-xr-x1991/CH6/EX6.12/12.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1991/CH6/EX6.12/12.sce b/1991/CH6/EX6.12/12.sce
new file mode 100755
index 000000000..9f1b9d35b
--- /dev/null
+++ b/1991/CH6/EX6.12/12.sce
@@ -0,0 +1,10 @@
+clc
+clear
+//input
+r100=6.9//resistence of steam
+r0=5.8 //resistece of ice
+t=550 //temperature
+//calculation
+r=(t*(r100-r0))/100 +5.8//platinum resistance thermometre
+//output
+printf("the resistence is %3.3f ohm",r)