summaryrefslogtreecommitdiff
path: root/2438/CH9/EX9.4/Ex9_4.sce
blob: c9c0331bfb681a8523bb80f43a206a7cd7f72135 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//==========================================================================
// chapter 9 example 4
clc
clear

// Variable declaration
Lf  = 42.3;         // guage length after strain mm
Lo  = 40;           // guage length in mm

// Calculations
e   = ((Lf - Lo)/Lo)*100      // Engineering Strain in percent

// Result
mprintf('Percentage of elongation = %3.2f percent',e);

//===========================================================================