summaryrefslogtreecommitdiff
path: root/1316/CH1/EX1.3
diff options
context:
space:
mode:
Diffstat (limited to '1316/CH1/EX1.3')
-rw-r--r--1316/CH1/EX1.3/example1_3.sce12
-rw-r--r--1316/CH1/EX1.3/resultexample1_3.txt1
2 files changed, 13 insertions, 0 deletions
diff --git a/1316/CH1/EX1.3/example1_3.sce b/1316/CH1/EX1.3/example1_3.sce
new file mode 100644
index 000000000..5faf08465
--- /dev/null
+++ b/1316/CH1/EX1.3/example1_3.sce
@@ -0,0 +1,12 @@
+//Chapter 1
+//Example 1.3
+//Page 23
+
+clear;
+clc;
+
+K=5.7;
+
+//Calculation of number of feets in 5.7m
+
+printf("As 1m=39.37 in. Thus number of feets in 5.7m is %.1f ft",K*39.37/12);
diff --git a/1316/CH1/EX1.3/resultexample1_3.txt b/1316/CH1/EX1.3/resultexample1_3.txt
new file mode 100644
index 000000000..3a51abd96
--- /dev/null
+++ b/1316/CH1/EX1.3/resultexample1_3.txt
@@ -0,0 +1 @@
+ As 1m=39.37 in. Thus number of feets in 5.7m is 18.7 ft \ No newline at end of file