summaryrefslogtreecommitdiff
path: root/3204/CH3/EX3.10/Ex3_10.sce
blob: a40f78aab2c8471fc5fdd95c130342de5a85c16b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Initilization of variables
w=2000 //N/m
Lab=3 //m
//Calculations
W=w*Lab/2 //N// Area under the curve
Lac=(2/3)*Lab //m//centroid of the triangular load system
Rb=(W*Lac)/Lab //N //sum of moment at A
Ra=W-Rb //N
//Results
clc
printf('The resultant of the distibuted load lies at %f m \n',Lac)
printf('The reaction at support A is %f N \n',Ra)
printf('The reaction at support B is %f N \n',Rb)