From f35ea80659b6a49d1bb2ce1d7d002583f3f40947 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:38:01 +0530 Subject: updated the code --- 278/CH4/EX4.1/ex_4_1.sce | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to '278/CH4/EX4.1/ex_4_1.sce') 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) + + -- cgit