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 --- 3296/CH2/EX2.3/Ex2_3.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 3296/CH2/EX2.3/Ex2_3.sce (limited to '3296/CH2/EX2.3/Ex2_3.sce') 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); -- cgit