summaryrefslogtreecommitdiff
path: root/1844/CH3/EX3.3/3Q3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1844/CH3/EX3.3/3Q3.sce')
-rw-r--r--1844/CH3/EX3.3/3Q3.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1844/CH3/EX3.3/3Q3.sce b/1844/CH3/EX3.3/3Q3.sce
new file mode 100644
index 000000000..84ed750b7
--- /dev/null
+++ b/1844/CH3/EX3.3/3Q3.sce
@@ -0,0 +1,17 @@
+clc
+// all are in m
+// For first 1500 m
+e= (0+.10)/2
+L=20
+L1=L+e
+l1=1500
+k1= L1*l1/L
+//For next 1400 m
+e=(.10+.18)/2
+L=20
+L1=L+e
+l1=1400
+k2= L1*l1/L
+
+l=k1+k2
+printf('Total length %f m',l)