blob: 857b1acc703b30af1fe4cb33e9e0a4cac82ca3b1 (
plain)
1
2
3
4
5
6
7
8
9
10
|
// Initilization of variables
W=100 // N //force acting at D
AB=50 // N // weight of bar ab
CD=50 // N // weight of bar cd
// Calculations
// From the derived expression the value of the angle is given as,
theta=atand(5/17.5) //degrees
// Results
clc
printf('The angle theta is %f degrees \n',theta)
|