summaryrefslogtreecommitdiff
path: root/3204/CH3/EX3.11/Ex3_11.sce
blob: b08f1cbaf1167375c5393e63bfbd5fe32eb4bf87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//Initiization of variables
w=1500 //N/m
x=4 //m
L=4 //m
//Calculations
k=x^2/w //m^3/N
//Solving the intergral we get
W=L^3/(3*k) //N
x_bar=L^4/(4*k*W) //m
//Result
clc
printf("The resultant is %f N and the line of action of the force is %f m",W,x_bar)