summaryrefslogtreecommitdiff
path: root/3776/CH2/EX2.19/Ex2_19.sce
blob: cf13084950d4c441cec89553917842a443f13f24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
//Given 
l = 30 //in - The length of the rod
p_1 = 80 //kips - The Force on the end
p_2  = 125 //kips - The force on the other end
A_s = 0.5 //sq.in - The crossection of the steel rod
A_a = 0.5 //sq.in - The crossection of the aluminium 
E_a = 10*(10**6) //psi - The youngs modulus of the aluminium 
E_s = 30*(10**6) //psi - The youngs modulus of the steel
//Internally stastically indeterminant 
p_a = p_1/4 //From solving we get p_s = 3*P_a
//From material properties point of view 
//stress_steel = stress_aluminium
e = p_a*l*(10**3)/(A_a*E_a) //The end deflection 
printf("\n The end deflection is %0.3f in",e)