diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3763/CH12/EX12.3/Ex12_3.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3763/CH12/EX12.3/Ex12_3.sce')
-rw-r--r-- | 3763/CH12/EX12.3/Ex12_3.sce | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/3763/CH12/EX12.3/Ex12_3.sce b/3763/CH12/EX12.3/Ex12_3.sce new file mode 100644 index 000000000..2c2e8d605 --- /dev/null +++ b/3763/CH12/EX12.3/Ex12_3.sce @@ -0,0 +1,21 @@ +clear +// +// +// + +//Variable declaration +ml=57800 //load(N) +d=10*10**-3 //diameter(m) +D=5 //diameter after fracture(mm) +l=50 //guage length(mm) +L=55 //length after fracture(mm) + +//Calculation +ts=ml/(%pi*(d/2)**2) //ultimate tensile strength(MPa) +de=(L-l)*100/l //ductility % of elongation(%) +dr=((2*D)**2-D**2)*100/(2*D)**2 //ductility % of reduction(%) +t=(2/3)*ts*de/100 //modulus of toughness(Pa) + +//Result +printf("\n ultimate tensile strength is %0.0f MPa",ts/10**6) +printf("\n modulus of toughness is %0.0f *10**6 Pa",t/10**6) |