summaryrefslogtreecommitdiff
path: root/2732/CH6/EX6.5/Ex6_5.sce
blob: ff4b471f969a561e340862d6e90ff8983b9c105d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clc
// initialization of variables
clear
A=3 //cm^2
E= 2*10^6 //kg/cm^2
nu= 0.25
l= 60 //m
L=150 //cm
d=0.5 //cm
dd=10 //cm
D=180 //cm
//calculations
K=(l*100/(A*E))+(L*D/2*D*32*2*(1+nu)/(E*%pi*dd^4*2))
P=d/K
// results
printf('The weight of the students that entered the length is %d kg',P)