diff options
Diffstat (limited to '2873/CH2/EX2.1/Ex2_1.sce')
-rwxr-xr-x | 2873/CH2/EX2.1/Ex2_1.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/2873/CH2/EX2.1/Ex2_1.sce b/2873/CH2/EX2.1/Ex2_1.sce new file mode 100755 index 000000000..81efa702e --- /dev/null +++ b/2873/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,12 @@ +// Display mode
+mode(0);
+// Display warning for floating point exception
+ieee(1);
+clear;
+clc;
+disp("Engineering Thermodynamics by Onkar Singh,Chapter 2,Example 1")
+Tf=98.6;//temperature of body in farenheit
+disp("degree celcius and farenheit are related as follows")
+disp("Tc=(Tf-32)/1.8")
+disp("so temperature of body in degree celcius")
+Tc=(Tf-32)/1.8
|