summaryrefslogtreecommitdiff
path: root/2741/CH1/EX1.10/10.sce
diff options
context:
space:
mode:
Diffstat (limited to '2741/CH1/EX1.10/10.sce')
-rwxr-xr-x2741/CH1/EX1.10/10.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/2741/CH1/EX1.10/10.sce b/2741/CH1/EX1.10/10.sce
new file mode 100755
index 000000000..5be92abb2
--- /dev/null
+++ b/2741/CH1/EX1.10/10.sce
@@ -0,0 +1,13 @@
+clc
+clear
+//Input data
+t1=50;//Temperature on platinum scale in degree centigrade
+t11=50.25;//Temperature on gas scale in degree centigrade
+t2=150;//Temperature on gas scale in degree centigrade
+
+//Calculations
+g=(t1-t11)/((t1/100)^2-(t1/100));
+x=t2-(g*((t2/100)^2-(t2/100)));//The temperature on the platinum scale corresponding to 150 degrees centigrade on gas scale in degree centigrade
+
+//Output data
+printf('The temperature on the platinum scale is %3.2f degree centigrade',x)