summaryrefslogtreecommitdiff
path: root/2741/CH2
diff options
context:
space:
mode:
Diffstat (limited to '2741/CH2')
-rwxr-xr-x2741/CH2/EX2.1/Chapter2_Example1.sce16
-rwxr-xr-x2741/CH2/EX2.2/Chapter2_Example2.sce13
-rwxr-xr-x2741/CH2/EX2.3/Chapter2_Example3.sce15
-rwxr-xr-x2741/CH2/EX2.4/Chapter2_Example4.sce14
-rwxr-xr-x2741/CH2/EX2.5/Chapter2_Example5.sce15
5 files changed, 73 insertions, 0 deletions
diff --git a/2741/CH2/EX2.1/Chapter2_Example1.sce b/2741/CH2/EX2.1/Chapter2_Example1.sce
new file mode 100755
index 000000000..a4e343dba
--- /dev/null
+++ b/2741/CH2/EX2.1/Chapter2_Example1.sce
@@ -0,0 +1,16 @@
+clc
+clear
+//Input data
+l=1;//The thickness of the crystal in cm
+w=5890d-8;//The wavelength of light used in cm
+t2=50;//The final temperature of the crystal in degree centigrade
+t1=20;//The initial temperature of the crystal in degree centigrade
+p=14;//The number of fringes that crossed the field of view
+
+//Calculations
+t=t2-t1;//The temperature difference in degree centigrade
+a=(p*w)/(2*l*t);//The coefficient of linear expansion of the crystal in per degree centigrade
+
+//output
+printf('The coefficient of linear expansion of the crystal is %3.4g /degree centigrade',a)
+
diff --git a/2741/CH2/EX2.2/Chapter2_Example2.sce b/2741/CH2/EX2.2/Chapter2_Example2.sce
new file mode 100755
index 000000000..7b3695118
--- /dev/null
+++ b/2741/CH2/EX2.2/Chapter2_Example2.sce
@@ -0,0 +1,13 @@
+clc
+clear
+//Input data
+L=500;//The length of a steel rod in cm
+t=40;//The increase in temperature in degree centigrade
+y=2*10^12;//The youngs modulus of elasticity of steel in dynes/cm^2
+e=12*10^-6;//The coefficient of linear expansion of steel in per degree centigrade
+
+//Calculations
+S=y*e*t;//The stress in the rod in dynes/cm^2
+
+//Output
+printf('The stress in the rod is %3g dynes/cm^2',S)
diff --git a/2741/CH2/EX2.3/Chapter2_Example3.sce b/2741/CH2/EX2.3/Chapter2_Example3.sce
new file mode 100755
index 000000000..5f7bff95e
--- /dev/null
+++ b/2741/CH2/EX2.3/Chapter2_Example3.sce
@@ -0,0 +1,15 @@
+clc
+clear
+//Input data
+L=800;//The length of the wire in cm
+r=0.2;//The radius of the wire in cm
+t=10;//The temperature fall in degree centigrade
+a=12*10^-6;//The coefficient of linear expansion of steel wire in per degree centigrade
+y=2*10^12;//The youngs modulus of elasticity of steel in dynes/cm^2
+pi=(22/7);//Mathematical constant pi
+
+//Calculations
+I=y*a*t*pi*r^2;//The increase in tension in dynes
+
+//Output
+printf('The increase in tension is %3g dynes',I)
diff --git a/2741/CH2/EX2.4/Chapter2_Example4.sce b/2741/CH2/EX2.4/Chapter2_Example4.sce
new file mode 100755
index 000000000..9cbfc95fc
--- /dev/null
+++ b/2741/CH2/EX2.4/Chapter2_Example4.sce
@@ -0,0 +1,14 @@
+clc
+clear
+//Input data
+A=2*10^-6;//The cross section area of a uniform rod in m^2
+t=20;//The change in temperature in degree centigrade
+y=10^11;//The youngs modulus of the rod in newtons/m^2
+a=12*10^-6;//The coefficient of linear expansion of rod in per degree centigrade
+
+//Calculations
+F=y*a*t*A;//The force required to prevent it from expanding in newtons
+E=(1/2)*y*a*t*a*t;//The energy stored per unit volume in j/m^3
+
+//Output
+printf('The force required to prevent the rod from expanding is %3.0f newtons \n The Energy stored per unit volume is %3.0f j/m^3',F,E)
diff --git a/2741/CH2/EX2.5/Chapter2_Example5.sce b/2741/CH2/EX2.5/Chapter2_Example5.sce
new file mode 100755
index 000000000..f6e503e65
--- /dev/null
+++ b/2741/CH2/EX2.5/Chapter2_Example5.sce
@@ -0,0 +1,15 @@
+clc
+clear
+//Input data
+d=10^-3;//The diameter of a steel wire in m
+t=20;//The difference in the temperature in degree centigrade
+y=2*10^11;//The youngs modulus of a steel wire in newtons/m^2
+a=12*10^-6;//The coefficient of linear expansion of steel wire in per degree centigrade
+pi=(22/7);//Mathematical constant value
+
+//calculations
+A=(pi*d^2)/4;//The cross sectional area of the steel wire in m^2
+F=(y*a*t*A)/(9.8);//Force required to maintain the original length in kg wt
+
+//output
+printf('Force required to maintain the original length is %3.3f kg wt ',F)