summaryrefslogtreecommitdiff
path: root/3886/CH2/EX2.7/Ex2_7.sce
blob: 71b465ef78ef143f5326bc06ccc02b69c4652ae1 (plain)
1
2
3
4
5
6
7
8
9
10
//Finding the third force F
//Assume that the third force F makes an angle theta with x-axis
//Resolving the forces we get
//F*cosd(theta)=-225.9...(1)  //N
//F*sind(theta)=-408.9...(2)  //N
//Then (2)/(1) gives
theta=atand(-408.9/-225.9)  //degree
F=sqrt(225.9^2+408.9^2)  //N
printf("The third force is F=%.1f N and makes an angle of theta=%.2f degree",F,theta)