summaryrefslogtreecommitdiff
path: root/1286/CH1/EX1.7/1_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1286/CH1/EX1.7/1_7.sce')
-rwxr-xr-x1286/CH1/EX1.7/1_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1286/CH1/EX1.7/1_7.sce b/1286/CH1/EX1.7/1_7.sce
new file mode 100755
index 000000000..a31672cb4
--- /dev/null
+++ b/1286/CH1/EX1.7/1_7.sce
@@ -0,0 +1,16 @@
+clc
+//initialisation
+Rt=13.3//ohms
+R100=7.0//ohms
+R0=5.0//ohms
+t=444.6//celsius
+RT=9.1//ohms
+//CALCULATIONS
+tp=(Rt-R0)*100/(R100-R0)
+Tp=(RT-R0)*100/(R100-R0)
+s=(t-tp)*10000/(t*(t-100))
+T=Tp+((s*(Tp*(Tp-100)))/10000)
+Ts=Tp+((s*T*(T-100))/10000)
+//results
+printf(' platinum temperature of bath= % 2f C',T)
+printf(' gas temperature of bath= % 2f C',Ts)