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