summaryrefslogtreecommitdiff
path: root/1991/CH2/EX2.31/31.sce
blob: 5340e2d8210ac37cc6d0c34ecaa55655a2560c5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
clear
//input
w=250*10^3
s=0.00003//strain
a=0.04//area
w1=320*10^3
//calculation
e=w/(a*s)//youngs module
st=w1/a//stress
//output
printf("the youngs modulus is %3.3e N/m^2",e)
printf("\n the stress is %3.0e N/m^2",st)