Вы находитесь на странице: 1из 3

Example 2:

real n,lamda
dimension area(4),r(4),compload(4)
open(1,file='ex7.in')
open(2,file='ex7.out')
read(1,*)(area(i),i=1,4) !To read the values of c/s area for the 4 Angle sections
read(1,*)(r(i),i=1,4)
sections
write(2,*)'

!To read the values of radius of gyration for the 4 Angle

Axial Compressive Load Capacity(in KN)'

write(2,10)
10 format(1x,'Length',t11,'ISA 50x50x6',t25,'ISA 65x65x6',t38,'ISA
75x75x6',t50,'ISA 90x90x6')
n=1.4
do xl=1,5,.25
fy=250
do i=1,4
lamda=.85*xl*100/r(i)
fcc=(3.14*3.14*2.0E05)/(lamda**2.)
ac=0.6*fcc*fy*1/(fcc**n+fy**n)**(1/n)
if(lamda<250)then
compload(i)=ac*area(i)/10**3
else
compload(i)=0
end if
20 format(1x,f4.2,t11,f6.2,t25,f6.2,t38,f6.2,t50,f6.2)

50 end do
write(2,20)xl,(compload(i),i=1,4)
end do
write(2,*)'Note:The values for which axial load capacity is 0 indicate that
slenderness ratio is greater than 250'
stop
end
Input:
568 744 866 1047
.97 1.26 1.46 1.75
Output:
Axial Compressive Load Capacity(in KN)
Length ISA 50x50x6 ISA 65x65x6 ISA 75x75x6 ISA 90x90x6
1.00

52.62

85.04

107.32

139.15

1.25

40.85

71.51

94.01

127.10

1.50

31.67

59.00

80.50

113.57

1.75

24.84

48.42

68.12

99.88

2.00

19.81

39.87

57.44

87.02

2.25

16.07

33.09

48.53

75.51

2.50

13.26

27.73

41.22

65.51

2.75

11.09

23.48

35.26

56.97

3.00

0.00

20.08

30.39

49.75

3.25

0.00

17.34

26.39

43.65

3.50

0.00

15.10

23.09

38.50

3.75

0.00

0.00

20.34

34.13

4.00

0.00

0.00

18.03

30.43

4.25

0.00

0.00

16.09

27.26

4.50

0.00

0.00

0.00

24.54

4.75

0.00

0.00

0.00

22.19

5.00

0.00

0.00

0.00

20.15

Note:The values for which axial load capacity is 0 indicate that slenderness ratio is
greater than 250

Вам также может понравиться