diff options
Diffstat (limited to '1991/CH6/EX6.12/12.sce')
-rwxr-xr-x | 1991/CH6/EX6.12/12.sce | 10 |
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)
|