summaryrefslogtreecommitdiff
path: root/3782/CH2/EX2.2/Ex2_2.sce
blob: 71a48a12882bb8ea58e2159762195135e1fece57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
clear
//

//


AD=15;AB=15,

ag=3
AC=15*(cos(ag*(%pi/180)))

CD=AB-AC
sc=10

CD=CD/sc

printf("\n required displacement perpendicular to chain is %0.3f meters',CD)


BC=AB*(sin(ag*(%pi/180)))

BC=BC/sc
printf("\n displacement parallel ot chain is %0.3f meters',BC)