diff options
Diffstat (limited to '2741/CH2/EX2.5')
-rwxr-xr-x | 2741/CH2/EX2.5/Chapter2_Example5.sce | 15 |
1 files changed, 15 insertions, 0 deletions
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)
|