summaryrefslogtreecommitdiff
path: root/1205/CH2/EX2.7.3/E2_7_3.sce
blob: 964c1647b997d2674f0bc11f05817f8593395ada (plain)
1
2
3
4
5
6
7
8
9
clc;
//F=700N i +1500N j, given forc

Fx=700;//N, Horizontal component
Fy=1500;// N, Vertical Component
tan_theta=Fy/Fx; 
theta=atan(tan_theta);// degrees , angle with +ve x axis
F=Fy/sin(theta);// N
printf("Magnitude of  F is %.2f N\n",F);