summaryrefslogtreecommitdiff
path: root/3843/CH1/EX1.9/Ex1_9.sce
diff options
context:
space:
mode:
Diffstat (limited to '3843/CH1/EX1.9/Ex1_9.sce')
-rw-r--r--3843/CH1/EX1.9/Ex1_9.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/3843/CH1/EX1.9/Ex1_9.sce b/3843/CH1/EX1.9/Ex1_9.sce
new file mode 100644
index 000000000..33ef7b3d6
--- /dev/null
+++ b/3843/CH1/EX1.9/Ex1_9.sce
@@ -0,0 +1,10 @@
+// Example 1_9
+clc;funcprot(0);
+// Given data
+t=50;// °F
+
+// Calculation
+t_c=(5/9)*(t-32);// °C
+T_K=t_c+273;// K
+T_R=t+460;// °R
+printf("\nt_c=%2.0f°C \nT_K=%3.0f K \nT_R=%3.0f°R",t_c,T_K,T_R);