blob: 225a34457f82bfbdd7ff5265e8f889bb6c530f9f (
plain)
1
2
3
4
5
6
7
8
9
10
11
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)
|