summaryrefslogtreecommitdiff
path: root/539/CH6/EX6.1/Example_6_1.sce
blob: 11bef4ea85c74cc9047b8b022da55d38bc7ebebd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//Elongation (Elastic) Computation

clear;
clc;

printf("\tExample 6.1\n");

E=110*10^3;  //Young's modulus of Copper in MPa
sigma=276;   //Applied stress in MPa
lo=305;     //Original length in mm

//Deformation
dl=sigma*lo/E;

printf("\nElongation obtained is %.2f mm \n",dl);

//End