summaryrefslogtreecommitdiff
path: root/3782/CH1/EX1.2/Ex1_2.sce
blob: a3ba5004c297692d0dd9a47dd7aa8d6328b71600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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)