blob: 9abfa6f842bbcced7236ee51be7b9a4c3194c306 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
//Example number 1.9, Page number 13
clc;clear;
close;
//Variable declaration
a=7.68*10**-29;
r0=2.5*10**-10; //radius(m)
//Calculation
b=a*(r0**8)/9;
y=((-2*a*r0**8)+(90*b))/r0**11;
E=y/r0/10**9; //young's modulus(GPa)
//Result
printf( "young''s modulus is %d GPa",E)
|