summaryrefslogtreecommitdiff
path: root/2615/CH12/EX51.2/51.sce
blob: 9a1768bb853b82aef4ccd972978900d9310d0266 (plain)
1
2
3
4
5
6
7
8
9
10
11
clc
//initialisation of variables
g=300//kg
a=2//m/sec^2
b=9.81//m/sec
//CALCULATIONS
Q=g*a/b//kg
R=g-Q//kg
R1=g+Q//kg
//RESULTS
printf('the pull of the cable where it is fastened to cage=% f kg',R1)