summaryrefslogtreecommitdiff
path: root/1844/CH2/EX2.8/2Q8.sce
blob: 74ae98edce352fa6bd8ea7811680ff0224127128 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clc
x=380
y=260
s=x*y
s1=10

x2=s1/(2*s)
y2=x2

x1=x*x2
y1=y*y2

printf('Hence precision ration of each line =%f\n',x2)
printf(' Maximum error in 380 m length =%f m\n',x1)
printf(' Maximum error in 260 m length =%f m',y1)