summaryrefslogtreecommitdiff
path: root/1844/CH3/EX3.2/3Q2.sce
blob: 024abdf3e7957317b8ede9044b166d81ba929325 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc
//all are in m
// with 20 m chain 
L=20
L1= 20+0.10
l1=1200
l= l1 * (L1/L)

printf('True length of line = %f m\n',l)
//with 25m
L=25
l1=1212
L1= l * (L/l1)

x=25-L1

printf (' Thus 25 m chain was %f m too short',x)