diff options
Diffstat (limited to '3863/CH2')
-rw-r--r-- | 3863/CH2/EX2.1/Ex2_1.sce | 25 | ||||
-rw-r--r-- | 3863/CH2/EX2.10/Ex2_10.sce | 13 | ||||
-rw-r--r-- | 3863/CH2/EX2.11/Ex2_11.sce | 20 | ||||
-rw-r--r-- | 3863/CH2/EX2.2/Ex2_2.sce | 20 | ||||
-rw-r--r-- | 3863/CH2/EX2.3/Ex2_3.sce | 17 | ||||
-rw-r--r-- | 3863/CH2/EX2.4/Ex2_4.sce | 20 | ||||
-rw-r--r-- | 3863/CH2/EX2.7/Ex2_7.sce | 27 |
7 files changed, 142 insertions, 0 deletions
diff --git a/3863/CH2/EX2.1/Ex2_1.sce b/3863/CH2/EX2.1/Ex2_1.sce new file mode 100644 index 000000000..5042378b5 --- /dev/null +++ b/3863/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,25 @@ +clear +// +// + +//Given +//Variable declaration +L=4*(10**3) //Length of the bar in mm +b=30 //Breadth of the bar in mm +t=20 //Thickness of the bar in mm +P=30*(10**3) //Axial pull in N +E=2e5 //Youngs modulus in N/sq.mm +mu=0.3 //Poisson's ratio + +//Calculation +A=b*t //Area of cross-section in sq.mm +long_strain=P/(A*E) //Longitudinal strain +delL=long_strain*L //Change in length in mm +lat_strain=mu*long_strain //Lateral strain +delb=b*lat_strain //Change in breadth in mm +delt=t*lat_strain //Change in thickness in mm + +//Result +printf("\n change in length = %0.3f mm",delL) +printf("\n change in breadth = %0.3f mm",delb) +printf("\n change in thickness = %0.3f mm",delt) diff --git a/3863/CH2/EX2.10/Ex2_10.sce b/3863/CH2/EX2.10/Ex2_10.sce new file mode 100644 index 000000000..d6e708904 --- /dev/null +++ b/3863/CH2/EX2.10/Ex2_10.sce @@ -0,0 +1,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) + diff --git a/3863/CH2/EX2.11/Ex2_11.sce b/3863/CH2/EX2.11/Ex2_11.sce new file mode 100644 index 000000000..1b1190ccc --- /dev/null +++ b/3863/CH2/EX2.11/Ex2_11.sce @@ -0,0 +1,20 @@ +clear +//Given +//Variable declaration +A=8*8 //Area of section in sq.mm +P=7000 //Axial pull in N +Ldo=8 //Original Lateral dimension in mm +Ldc=7.9985 //Changed Lateral dimension in mm +C=0.8e5 //modulus of rigidity in N/sq.mm + +//Calculation +lat_strain=(Ldo-Ldc)/Ldo //Lateral strain +sigma=P/A //Axial stress in N/sq.mm +mu=(1/((sigma/lat_strain)/(2*C)-1)) //Poisson's ratio + +E=((sigma/lat_strain)/((sigma/lat_strain)/(2*C)-1)) //Modulus of elasticity in N/sq.mm + + +//Result +printf("\n Modulus of elasticity = %.4e N/mm^2",E) + diff --git a/3863/CH2/EX2.2/Ex2_2.sce b/3863/CH2/EX2.2/Ex2_2.sce new file mode 100644 index 000000000..41d9815d7 --- /dev/null +++ b/3863/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,20 @@ +clear +//Given +//Variable declaration +L=30 //Length in cm +b=4 //Breadth in cm +d=4 //Depth in cm +P=400*(10**3) //Axial compressive load in N +delL=0.075 //Decrease in length in cm +delb=0.003 //Increase in breadth in cm + +//Calculation +A=(b*d)*1e2 //Area of cross-section in sq.mm +long_strain=delL/L //Longitudinal strain +lat_strain=delb/b //Lateral strain +mu=lat_strain/long_strain //Poisson's ratio +E=int((P)/(A*long_strain)) //Youngs modulus + +//Result +printf("\n Youngs modulus = %.e N/mm^2",E) + 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) diff --git a/3863/CH2/EX2.4/Ex2_4.sce b/3863/CH2/EX2.4/Ex2_4.sce new file mode 100644 index 000000000..e63751f21 --- /dev/null +++ b/3863/CH2/EX2.4/Ex2_4.sce @@ -0,0 +1,20 @@ +clear +// +//Given +//Variable declaration +L=300 //Length in mm +b=50 //Width in mm +t=40 //Thickness in mm +P=300*10**3 //Pull in N +E=2*10**5 //Youngs modulus in N/sq.mm +mu=0.25 //Poisson's ratio + +//Calculation +V=L*b*t //Original volume in mm^3 +Area=b*t //Area in sq.mm +stress=P/Area //Stress in N/sq.mm +ev=(stress/E)*(1-2*mu) //Volumetric strain +delV=int(ev*V) //Change in volume in mm^3 + +//Result +printf("\n Change in volume = %0.3f mm^3",delV) diff --git a/3863/CH2/EX2.7/Ex2_7.sce b/3863/CH2/EX2.7/Ex2_7.sce new file mode 100644 index 000000000..c3ad4cb5c --- /dev/null +++ b/3863/CH2/EX2.7/Ex2_7.sce @@ -0,0 +1,27 @@ +clear +// + +//Given +//Variable declaration +L=5*10**3 //Length in mm +d=30 //Diameter in mm +P=50*10**3 //Tensile load in N +E=2e5 //Youngs modulus in N/sq.mm +mu=0.25 //Poisson's ratio + +//Calculation +V=int(((%pi*d**2*L)/4)) //Volume in mm^3 + +e=P*4/(%pi*(d**2)*E) //Strain of length +delL=(e*L) //Change in length in mm + +lat_strain=(mu*(e)) //Lateral strain + +deld=lat_strain*d //Change in diameter in mm +delV=(V*(0.0003536-(2*lat_strain))) //Change in volume in mm^3 + + +//Result +printf("\n Change in length = %0.3f mm",delL) +printf("\n Change in diameter = %0.3f mm",deld) +printf("\n Change in volume = %0.3f mm^3",delV) |