summaryrefslogtreecommitdiff
path: root/3782/CH1/EX1.2/Ex1_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '3782/CH1/EX1.2/Ex1_2.sce')
-rw-r--r--3782/CH1/EX1.2/Ex1_2.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3782/CH1/EX1.2/Ex1_2.sce b/3782/CH1/EX1.2/Ex1_2.sce
new file mode 100644
index 000000000..a3ba5004c
--- /dev/null
+++ b/3782/CH1/EX1.2/Ex1_2.sce
@@ -0,0 +1,13 @@
+
+l1=20 //chain 1 length
+e=0.05 //error
+l11=l1+e
+ml1=1200 //measured lenght
+tl=(l11/l1)*ml1 //true lenght of line
+
+l2=30 //chain 2 length
+ml2=1195 //measured length
+
+l21=(tl/ml2)*l2
+ae=l21-l2 //amount of error
+printf("\n amount of error= %0.3f ",ae)