summaryrefslogtreecommitdiff
path: root/278/CH4/EX4.1/ex_4_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /278/CH4/EX4.1/ex_4_1.sce
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '278/CH4/EX4.1/ex_4_1.sce')
-rwxr-xr-x278/CH4/EX4.1/ex_4_1.sce24
1 files changed, 12 insertions, 12 deletions
diff --git a/278/CH4/EX4.1/ex_4_1.sce b/278/CH4/EX4.1/ex_4_1.sce
index 225a34457..7b2b1a0c5 100755
--- a/278/CH4/EX4.1/ex_4_1.sce
+++ b/278/CH4/EX4.1/ex_4_1.sce
@@ -1,12 +1,12 @@
-//find diameter of the link stock,if permissible tensile stress is not to exceed 75 MPa.
-clc
-//solution
-//given:
-P=50000//N//maximum load is P
-f=75//(N/mm^2)//stress is given
-pi=3.14
-d=sqrt(4*P/(f*pi))//manipulating to get the value of d
-//d=diameter of link stock //using relation f=P/A
-printf("\n\nThe diameter of link stock is,%f mm\n,",d)
-
-
+
+clc
+//solution
+//given:
+P=50000//N//maximum load is P
+f=75//(N/mm^2)//stress is given
+pi=3.14
+d=sqrt(4*P/(f*pi))//manipulating to get the value of d
+//d=diameter of link stock //using relation f=P/A
+printf("\n\nThe diameter of link stock is,%f mm\n,",d)
+
+