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 /3772/CH8/EX8.1/Ex8_1.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 '3772/CH8/EX8.1/Ex8_1.sce')
-rw-r--r-- | 3772/CH8/EX8.1/Ex8_1.sce | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/3772/CH8/EX8.1/Ex8_1.sce b/3772/CH8/EX8.1/Ex8_1.sce new file mode 100644 index 000000000..45c8ab5f7 --- /dev/null +++ b/3772/CH8/EX8.1/Ex8_1.sce @@ -0,0 +1,36 @@ +// Problem 8.1,Page no.206 + +clc;clear; +close; + +k=1 //KN/m //stiffness of spring +P=45 //N //Maximum Load +sigma_s=126 //MPa //Max shear stress +L=4.5 //cm //Lenght of spring +G=42 //GPa //Modulus of rigidity + +//Calculations + +//sigma_s_max=16*P*R*(%pi*d**3)**-1 //Max shear stress + +//After substituting values in above equation and simolifying we get +//1000=42*10**9*d**4*(64*R**3*n)**-1 (//Equation 1) + +//R=0.175*10**6*%pi*d**3 //Radius of spring (Equation 2) + +//L=n*d //solid length of spring +//Thus simplifying above equation, n=L*d**-1 + +//substituting value of n and R in (equation 1) we get, + +d=(42*10**9*(1000*64*4.5*10**-2*(0.175*%pi)**3*(10**6)**3)**-1)**0.25*10**2 //cm //diameter of helical spring + +//substituting value d in (equation 2) we get, +R=0.175*10**6*%pi*(d)**3*10**-6*100 //cm //Radius of coil +D=2*R //cm //Mean diameter of coil +n=0.045*0.00306**-1 //Number of turns + + +//Result +printf("The Diameter of wire is %.3f cm",d) +printf("\n The Mean Diameter of coil is %.2f",D);printf(" cm") |