From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2741/CH2/EX2.5/Chapter2_Example5.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 2741/CH2/EX2.5/Chapter2_Example5.sce (limited to '2741/CH2/EX2.5/Chapter2_Example5.sce') 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) -- cgit