blob: 79144c47937e5377eb0345eaffe5efaef5e746f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//Example 6.6//
E=830;//MPa //Megapascal //Young's Modulus
s=1;//MPa //MegaPascal //modulus of elasticity
e=s/E
mprintf("e = %e",e)
//(b)
E1=1.3;//MPa//Megapascal //Young's Modulus
e1=s/E1
mprintf("\n e1 = %f",e1)
//(c)E=200 GPa= 2*10^5 Mpa
E2=2*10^5;//MPa//Megapascal //Young's Modulus
e2=s/E2//Mpa
mprintf("\n e2 = %e",e2)
|