summaryrefslogtreecommitdiff
path: root/3526/CH6/EX6.3/EX6_3.sce
blob: 0e8b824ae5fa491a38b34ac0e16f9d90067c89e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;funcprot(0);//EXAMPLE 6.3
// Initialisation of Variables
sigma1=35000;.......//Stress applied of aluminum alloy in psi from table 6-1
e1=0.0035;........//Strain applied of aluminum alloy from table 6-1
sigma2=30000;.......//Stress applied of aluminum alloy  in psi
Lo=50;.........//initial length of  aluminum alloy
//CALCULATIONS
E=sigma1/e1;........//Modulus of elasticity  of aluminum alloy
e2=sigma2/E;.......//Strain applied of aluminum alloy
L=Lo+(e2*Lo);......//The length after deformation of bar in in
disp(E,"Modulus of elasticity  of aluminum alloy from table 6-1:")
disp(L,"The length after deformation of bar in in")
disp(e2,"Strain applied of aluminum alloy:")