Курсовая работа: Собственные значения.
S(1,3) = 6.E06
S(3,1) = S(1,3)
S(2,2) = 20.E06
S(2,3) = 4.E06
S(3,2) = S(2,3)
S(3,3) =З0.Е06
X(1) = 1.
Х(2) = 0.0
Х(3) = 0.0
XOLD = 0.0
I = 0
WRITE(6 100)
WRITE(6 101)
WRITE(6 102)
WRITE(6 100)
WRITE(6 104) I,X(1),X(2),X(3)
DO 1 1=1,50
CALL GMPRD (S, X, R, 3, 3, 1)
DO 2 J=1,3
2 X(J) = R(J)
CALL NORML(XLAM,X)
WRITE(6,103) I,XLAM,X(1),X(2),X(3)
IF(ABS((XOLD-XLAM)/XLAM).LE.0.0001) GO TO 3
XOLD = XLAM
3 WRITE(6,100)
100 FORMAT (1X 54C'-''))
FORMAT (2X ‘ITERATION’, ЗХ ‘ITERATION’, 11X,‘EIGENVECTOR')
FORMAT (3X 'NUMBER", 6X ,'(N/M**2)’, 5X, ‘X(1)’,
6X,'X(2)',6X,’X(3)’)