summaryrefslogtreecommitdiff
path: root/3886/CH8/EX8.12/8_12.sce
blob: bea441e90eb788019b98b4bbf6ebb5957735146c (plain)
1
2
3
4
5
6
7
//Position of the balls
//refer fig. 8.16
//Let a virtual displacement be given to the system of balls as shown
//Applying virtual work principle
//200*sind(30)*delta(DB)+150*sind(60)*delta(EB)=0
theta=atand((150*sind(60))/(200*sind(30)))  //degree
printf("Thus theta=%.2f degree",theta)