summaryrefslogtreecommitdiff
path: root/3862/CH1/EX1.2/Ex1_2.sce
blob: 4bbebabfbeee0deafcc15ff41e88406ed4755b6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//components of force in horizontal and vertical components. 
//
//variable declaration

F= 20                        //force in wire, KN

//calculations
Fx= F*cos(60*%pi/180)          
Fy= F*sin(60*%pi/180)

printf("\n %0.3f KN totheleft ",Fx)
printf("\n %0.3f KN downward ",Fy)