blob: a444c31bcb003ba603f8dfde76ab2d8889bc860b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clear
//variable declaration
E=(2.1*100000) //Young’s modulus of the material,N/mm^2
G=(0.78*100000) //modulus of rigidity,N/mm^2
pr=(E/(2*G))-1
printf("\n poissons Ratio= %0.3f ",pr)
K=E/(3*(1-2*pr))
printf("\n Bulk modulus= %0.3f N/mm^2",K)
|