blob: 631bfefc1cda200c8d3ad5645a566e8e1bef1709 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
clc
//
//Variable declaration
p=180 // Hydrostatic pressure(MPa)
E=200 // Modulus of elasticity(GPa)
v=0.29 // Poissons ratio()
//Calculation
k=E/(3*(1-(2*v))) // Bulk modulus of steel(GPa)
e=-p/k // Dialation
V=80*40*60 // Volume of block in unstressed state(mm**3)
DELTAv=(e*V)/((10**3)) // change in volume per unit volume
// Results
printf("\n Change in volume = %1f mm**3' ,DELTAv)
|