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

//Given
//Variable declaration
L=3*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)