summaryrefslogtreecommitdiff
path: root/3863/CH2/EX2.10/Ex2_10.sce
blob: d6e708904749d8f2ba16881ab7b6761f45ff87db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clear
//Given
//Variable declaration
E=1.2e5                  //Youngs modulus in N/sq.mm
C=4.8e4                  //Modulus of rigidity in N/sq.mm

//Calculation
mu=(E/(2*C))-1           //Poisson's ratio
K=int(E/(3*(1-2*mu)))    //Bulk modulus in N/sq.mm

//Result
printf("\n Bulk modulus = %.0e N/mm^2",K)