blob: 7f5cc48d14e3b12cbe7729b38b307b7e5381c393 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear
//
//
//
//Variable declaration
sigma0=8.55
K=2.45
sigma=10**-3 //steel size(mm)
//Calculation
sigma=sigma0+(K/sqrt(sigma)) //yield strength
//Result
printf("\n yield strength is %0.3f kg/mm**2",sigma)
|