diff options
Diffstat (limited to '1316/CH1/EX1.17')
-rw-r--r-- | 1316/CH1/EX1.17/example1_17.sce | 13 | ||||
-rw-r--r-- | 1316/CH1/EX1.17/resultexample1_17.txt | 2 |
2 files changed, 15 insertions, 0 deletions
diff --git a/1316/CH1/EX1.17/example1_17.sce b/1316/CH1/EX1.17/example1_17.sce new file mode 100644 index 000000000..a8b4c7f96 --- /dev/null +++ b/1316/CH1/EX1.17/example1_17.sce @@ -0,0 +1,13 @@ +//Chapter 1
+//Example 1.17
+//Page 40
+
+clear;
+clc;
+
+TF=22.4;
+V=412;
+
+//Finding the value of temperature
+printf("The value of temperature is equal to %.6f degree celcius \n",V/TF);
+printf("Our result can be significant to 3 places = %.1f degree celcius",V/TF);
diff --git a/1316/CH1/EX1.17/resultexample1_17.txt b/1316/CH1/EX1.17/resultexample1_17.txt new file mode 100644 index 000000000..2635145b0 --- /dev/null +++ b/1316/CH1/EX1.17/resultexample1_17.txt @@ -0,0 +1,2 @@ +The value of temperature is equal to 18.392857 degree celcius
+Our result can be significant to 3 places = 18.4 degree celcius
\ No newline at end of file |