summaryrefslogtreecommitdiff
path: root/1586/CH6/EX6.3/EXP6_3.sce
blob: 7834fee0178005fd12963850b6ab83e591d6336f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc;funcprot(0);//EXAMPLE 6.2
// 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:")