diff options
Diffstat (limited to '3863/CH2/EX2.3/Ex2_3.sce')
-rw-r--r-- | 3863/CH2/EX2.3/Ex2_3.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/3863/CH2/EX2.3/Ex2_3.sce b/3863/CH2/EX2.3/Ex2_3.sce new file mode 100644 index 000000000..0a842e901 --- /dev/null +++ b/3863/CH2/EX2.3/Ex2_3.sce @@ -0,0 +1,17 @@ +clear +//Given +//Variable declaration +L=4000 //Length of the bar in mm +b=30 //Breadth of the bar in mm +t=20 //Thickness of the bar in mm +mu=0.3 //Poisson's ratio +delL=1.0 //delL from problem 2.1 + +//Calculation +ev=(delL/L)*(1-2*mu) //Volumetric strain +V=L*b*t //Original volume in mm^3 +delV=ev*V //Change in volume in mm^3 +F=int(V+delV) //Final volume in mm^3 + +//Result +printf("\n Final volume = %0.3f mm^3",F) |