summaryrefslogtreecommitdiff
path: root/3863/CH12/EX12.2/Ex12_2.sce
blob: cdd152ddcd9a0a36ee1296772da3304306217fd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear
//

//Given
//Variable declaration
L=4*1000              //Length in mm

//Calculation
thetaA=((%pi/180)*(1))    //Slope at the ends in radians

yc=(thetaA*(L/3))    //Deflection at the centre in mm

//Result
printf("\n Deflection at the centre = %0.3f  mm",yc)