diff options
author | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
---|---|---|
committer | prashantsinalkar | 2018-02-03 11:01:52 +0530 |
commit | 7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch) | |
tree | 449d555969bfd7befe906877abab098c6e63a0e8 /3864/CH2/EX2.37/Ex2_37.sce | |
parent | d1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff) | |
download | Scilab-TBC-Uploads-master.tar.gz Scilab-TBC-Uploads-master.tar.bz2 Scilab-TBC-Uploads-master.zip |
Diffstat (limited to '3864/CH2/EX2.37/Ex2_37.sce')
-rw-r--r-- | 3864/CH2/EX2.37/Ex2_37.sce | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/3864/CH2/EX2.37/Ex2_37.sce b/3864/CH2/EX2.37/Ex2_37.sce new file mode 100644 index 000000000..155d3e6c4 --- /dev/null +++ b/3864/CH2/EX2.37/Ex2_37.sce @@ -0,0 +1,36 @@ +clear +// +// + +//Initilization of Variables + +d=20 //mm //Diameter of bar +P=37.7*10**3 //N //Load +L=200 //mm //Guage Length +dell=0.12 //mm //Extension +dell_d=0.0036 //mm //contraction in diameter + +//Calculations + +//Area of bar +A=%pi*4**-1*d**2 + +//Let s and dell_s be the Linear strain and Lateral strain +s=dell*L**-1 +dell_s=dell_d*d**-1 +mu=dell_s*s**-1 //Poissons ratio + +//dell=P*L*(A*E)**-1 +E=P*L*(dell*A)**-1 //N/mm**2 //Modulus of Elasticity of bar + +//Modulus of Rigidity +G=E*(2*(1+mu))**-1 //N/mm**2 + +//Bulk Modulus +K=E*(3*(1-2*mu))**-1 //N/mm**2 + +//result +printf("\n Poissons ratio is %0.2f ",mu) +printf("\n The Elastic constant are:E %0.2f ",E) +printf("\n :G %0.2f ",G) +printf("\n :K %0.2f ",K) |