summaryrefslogtreecommitdiff
path: root/1316/CH1/EX1.4
diff options
context:
space:
mode:
Diffstat (limited to '1316/CH1/EX1.4')
-rw-r--r--1316/CH1/EX1.4/example1_4.sce11
-rw-r--r--1316/CH1/EX1.4/resultexample1_4.txt1
2 files changed, 12 insertions, 0 deletions
diff --git a/1316/CH1/EX1.4/example1_4.sce b/1316/CH1/EX1.4/example1_4.sce
new file mode 100644
index 000000000..2fc625d72
--- /dev/null
+++ b/1316/CH1/EX1.4/example1_4.sce
@@ -0,0 +1,11 @@
+//Chapter 1
+//Example 1.4
+//Page 23
+
+clear;
+clc;
+
+K=6;
+
+//Calculation of feets in meter
+printf("As 1m=39.37 in and 1m=12ft Thus number of meter in 6ft is %.2f m",(K*12)/39.37);
diff --git a/1316/CH1/EX1.4/resultexample1_4.txt b/1316/CH1/EX1.4/resultexample1_4.txt
new file mode 100644
index 000000000..0d860bb20
--- /dev/null
+++ b/1316/CH1/EX1.4/resultexample1_4.txt
@@ -0,0 +1 @@
+ As 1m=39.37 in and 1m=12ft Thus number of meter in 6ft is 1.83 m \ No newline at end of file