blob: 5f8d1fb8aa4bacd609e3eb322a8ad5b09db64ec9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clear
//variable declaration
P=(120) // force applied during measurement,N
E=(200000) //Modulus of elasticity for steel,N/mm^2
L=(30) //length of Surveyor’s steel tape,mm
A=15*0.75 //area, mm^2
delta=((P*L*1000)/(A*E)) //Elongation,mm
printf("\n area= %0.2f mm^2",A)
printf("\n Elongation= %0.3f mm",delta)
printf("\n Hence, if measured length is %0.3f m.", L)
printf("\n Actual length is %0.6f m",(L+(delta/1000)))
printf("\n Actual length of line AB= %0.3f m.",(150*(L+(delta/1000))/30))
|