summaryrefslogtreecommitdiff
path: root/3776/CH2/EX2.6/Ex2_6.sce
blob: 844997aec3b38ab8787440c5a094f447495667be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear
dia = 50 //mm - diameter of aluminium 
p = 100 // KN - instant force applid
dia_c = 0.1215 //mm- change in diameter 
l_c = 0.219 //mm - change in length
l = 300 //mm - length 
strain_dia = dia_c/dia // lateral strain 
strain_l = l_c/l //longitudinal strain 
po = strain_dia/strain_l // poission ratio 
area = 3.14*dia*dia/4 //mm2 area
E = p*l/(area*l_c) //N/mm2 youngs modulus 
printf("\n The lateral strain is: %0.3f no units",strain_dia)
printf("\n The longitudinal strain is: %0.3f no units",strain_l)
printf("\n The poissions ratio is: %0.3f no units",po)
printf("\n Youngs modulus: %0.2f N/sq.mm",E)