diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /3296/CH2/EX2.3/Ex2_3.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '3296/CH2/EX2.3/Ex2_3.sce')
-rwxr-xr-x | 3296/CH2/EX2.3/Ex2_3.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3296/CH2/EX2.3/Ex2_3.sce b/3296/CH2/EX2.3/Ex2_3.sce new file mode 100755 index 000000000..20214e1cf --- /dev/null +++ b/3296/CH2/EX2.3/Ex2_3.sce @@ -0,0 +1,15 @@ +// chapter 2 +// example 2.3 +// Find the minimum diameter of the steel wire +// page-16-17 +clear; +clc; +// given +P=5; // in kN (Load on the steel wire) +sigma=100; // in MPa (stress in the wire) +// calculate +P=P*1E3; // changing unit from kN to N +sigma=sigma*1; // changing unit from MPa to N/mm^2 +// since stress=P/A= P/(Pi*d^2/4), therefore d can be calculated as +d=sqrt(4*P/(%pi*sigma)); // calculation of minimum diameter of the steel wire +printf("\nThe minimum diameter of the steel wire is \t d=%.2f mm or %.f mm",d,d); |