summaryrefslogtreecommitdiff
path: root/3886/CH2/EX2.6/Ex2_6.sce
blob: f47c7d20f299e7981fd2d1d340b5adf5bfc9c176 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Determine Resultant Force
//From given data
T=1200  //N
F=100  //N
N=500  //N
W=1000  //N
theta=60  //degree
//Taking co-ordinate system parallel and perpendicular to plane as x and y axis and resolving the forces
Fx=T-F-W*sind(theta)  //N
Fy=N-W*cosd(theta)  //N
R=sqrt(Fx^2+Fy^2)
printf("The resultant has magnitude R=%.0f N directed up the plane",R)