Sie sind auf Seite 1von 21

Example ( 1 ) Write a FORTRAN program in order to read the elements of the two matrices A ( 30 x 75 ) and B ( 30 x 75 ) ( row by row ) from

a data file; and then computes the elements of the matrix C ( 30 x 75 ) , given that: C = A - B.

The output is written into a file.

Program ( 1 ) IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) DIMENSION A( 30 , 75 ) , B( 30 , 75 ) , C( 30 , 75 ) OPEN( 8 , FILE = ' INPUT.DAT ' , STATUS = ' OLD ' ) OPEN( 9 , FILE = ' OUTPUT.DAT ' , STATUS = ' UNKNOWN ' ) N = 30 K = 75 DO 13 I = 1 , N 13 14 READ( 8 , * ) ( A( I , J ) , J = 1 , K ) DO 14 I = 1 , N READ( 8 , * ) ( B( I , J ) , J = 1 , K ) C = A - B DO 15 I = 1 , N 15 17 WRITE ( 9 , 17 ) ( C( I , J ) , J = 1 , K ) FORMAT ( 10F12.3 ) STOP END

Example ( 2 ) Write a computer program , which reads the x , y and z variables from the CON and computes the function: F = x5 - 7 ln ( y6 + 3 ) + 17 tan ( z )

The output is written into the CON.


Program ( 2 ) IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) READ( * , * ) X , Y , Z F = X**5 - 7.0D0 * DLOG ( Y**6 + 3.0D0 ) + 17.0D0 * DTAN ( Z ) WRITE ( * , 10 ) X , Y , Z , F 10 FORMAT ( 4F10.2 ) STOP END

Example ( 3 ) Given that a , b and c are the lengths of the sides of a triangle. The area of that triangle is given by:

Area =

[ p . ( p a ) . ( p b ) . ( p c ) ] 1/2

where p is half the perimeter. Write a FORTRAN program that reads a , b and c from the CON; and then computes the area of the triangle. The output should be written into the CON.
Program ( 3 )

IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) READ( * , * ) A , B , C P = ( A + B + C ) / 2.0D0 = DSQRT ( P * ( P A ) * ( P B ) * ( P C ) ) AREA 10

WRITE ( * , 10 ) A , B , C , AREA FORMAT ( 4F10.2 ) STOP END

Example ( 4 ) If the first derivative , d , of a function is given by: d = 27 x7 - 13 x It is required to write a computer program , which computes the slope angle ( in degrees ) of the curve ' s tangent , at three points having x = 9.8 , 11.13 and 18.7 , given that = tan-1 ( d ). The output is written into the CON.
Program ( 4 )

IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) X1 = 9.8D0 X2 = 11.13D0 X3 = 18.7D0 CALL ANGLE ( X1 , A1 ) CALL ANGLE ( X2 , A2 ) CALL ANGLE ( X3 , A3 ) 3

WRITE ( * , 10 ) A1 , A2 , A3 10 FORMAT ( 3F10.3 ) STOP END SUBROUTINE ANGLE ( X , A ) IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) PI = 4.0D0*DATAN( 1.0D0 ) D = 27.0D0 * X**7 - 13.0D0 * X A = DATAN ( D ) A = A*180.0D0/PI RETURN END

Example ( 5 ) Given two points A & B , which have coordinates ( x1 , y1 , z1 ) and ( x2 , y2 , z2 ) , respectively. Write a FORTRAN program that reads these coordinates from the CON; and then computes the distance S between the two points , if S = [ ( x2 - x1 )2 + ( y2 y1 )2 + ( z2 z1 )2 ] 1/2

The output should be written into the CON.


Program ( 5 ) IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) READ( * , * ) X1 , Y1 , Z1 READ( * , * ) X2 , Y2 , Z2 S = DSQRT ( ( X2 - X1 )**2 + ( Y2 - Y1 )**2 + ( Z2 - Z1 )**2 ) WRITE ( * , * ) S STOP END

Example ( 6 ) Write a computer program , which reads the elements of the one-dimensional array E ( 30 ) from a file; and then computes the following function:
30

H =

(
i = 1

E( i ) )5

The output is written into the CON.


Program ( 6 ) IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) DIMENSION E( 30 ) OPEN( 8 , FILE = ' INPUT.DAT ' , STATUS = ' OLD ' ) READ ( 8 , * ) ( E ( J ) , J = 1 , 30 ) H = 0.0D0 DO 14 I = 1 , 30 14 H = H + E( I ) **5 WRITE ( * , * ) H STOP END

Example ( 7 ) Write a computer program , which reads the number n of points from the CON; and then reads their x & y coordinate pairs from an input data file. Then, the program transforms the coordinates of these points , relative to two origins: The first origin is taken at the geometric center of those points , The second origin is taken at the point x0 , y0 , given that x0 and y0 are equal to 13.365 and 89.287 , respectively , given that the coordinates of the points ' geometric center ( c.g. ) is given by :
5

xc.g. =

i = 1

xi / n ,

yc.g. =

i = 1

yi / n.

The output is written into a file.


Program ( 7 ) IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) DIMENSION X( 150 ) , Y( 150 ) OPEN( 8 , FILE = ' COOR.DAT ' , STATUS = ' OLD ' ) OPEN( 9 , FILE = ' CGTRANS.DAT ' , STATUS = ' UNKNOWN ' ) OPEN( 10 , FILE = ' TRANS.DAT ' , STATUS = ' UNKNOWN ' ) X0 = 13.365D0 Y0 = 89.287D0 WRITE( * , * ) ' ENTER THE NUMBER OF POINTS: ' READ ( * , * )N CALL READING( N , X , Y ) SUMX = 0.0D0 SUMY = 0.0D0 DO 17 J = 1 , N SUMX = SUMX + X( J ) SUMY = SUMY + Y( J ) 17 CONTINUE CGX = SUMX / DFLOAT( N ) CGY = SUMY / DFLOAT( N ) CALL TRANSFORM ( N , X , Y , CGX , CGY , 9 ) REWIND ( 8 ) CALL READING ( N , X , Y ) CALL TRANSFORM ( N , X , Y , X0 , Y0 , 10 ) STOP END 6

SUBROUTINE READING ( M , U , V ) DOUBLE PRECISION U( M ) , V( M ) DO 11 K = 1 , M READ( 8 , * )U( K ) , V( K ) 11 CONTINUE RETURN END SUBROUTINE TRANSFORM ( M , U , V , OU , OV , INT ) IMPLICIT DOUBLE PRECISION( A - H , O - Z ) DOUBLE PRECISION U( M ) , V( M ) DO 28 K = 1 , M U( K ) = U( K )-OU V( K ) = V( K )-OV IF ( INT.EQ.9 )WRITE( 9 , 13 )U( K ) , V( K ) IF ( INT.EQ.10 )WRITE( 10 , 13 )U( K ) , V( K ) 28 13 CONTINUE FORMAT( 5X , 2F15.3 ) RETURN END

Example ( 8 ) Given a matrix C ( 30x60 ) and a diagonal matrix Q ( 60x60 ). Write a computer program , which reads ( from an input data file ) the row & column ranks of the matrix C , the elements of the matrix C ( row by row ); and the elements of the main diagonal of Q. Also , the program computes the matrix M ( 30x30 ) , which is given by: M = C . Q . CT The output is written into a file.

Program ( 8 ) REAL*8 C( 30 , 60 ) , Q( 60 , 60 ) , M( 30 , 30 ) , CQ( 30 , 60 ) , CT( 60 , 30 ) INTEGER R OPEN( 9 , FILE = ' INPUT.LST ' ) OPEN( 13 , FILE = ' OUTPUT.LST ' ) READ ( 9 , * )R , N WRITE( 13 , * ) ' C-MATRIX: ' WRITE( 13 , * ) ' *********** ' DO 8 I = 1 , R READ( 9 , * ) ( C( I , J ) , J = 1 , N ) 8 WRITE( 13 , 118 )( C( I , J ) , J = 1 , N ) DO 313 I = 1 , R DO 313 J = 1 , N 313 118 CT( J , I ) = C( I , J ) FORMAT( 6F10.0/ ) DO 9 I = 1 , N DO 9 J = 1 , N 9 116 Q( I , J ) = 0.0D0 FORMAT( 6F10.5 ) WRITE( 13 , * ) WRITE( 13 , * ) ' DIAGONAL OF Q-MATRIX: ' WRITE( 13 , * ) ' ************************** ' READ( 9 , * )( Q( I , I ) , I = 1 , N ) WRITE( 13 , 116 )( Q( I , I ) , I = 1 , N ) CQ = MATMUL( C , Q ) WRITE( 13 , * ) WRITE( 13 , * ) WRITE( 13 , * ) ' PRODUCT C*Q: ' WRITE( 13 , * ) ' *************** ' DO 81 I = 1 , R 81 WRITE( 13 , 116 )( CQ( I , J ) , J = 1 , N ) M = MATMUL( CQ , CT ) WRITE( 13 , * ) WRITE( 13 , * ) 8

WRITE( 13 , * ) ' PRODUCT M = C*Q*CT: ' WRITE( 13 , * ) ' ************************ ' DO 91 I = 1 , R 91 WRITE( 13 , 116 )( M( I , J ) , J = 1 , R ) STOP END

Example ( 9 ) Write a computer program , which reads the integer k , and then , while reading the variable x k times ( from an input data file ) , it computes the corresponding radius of curvature for the following curve: F( x ) = x3 + 7 ln | x | + 5 sin x , given that the radius of curvature is expressed as R = (1 + F' F'
2 3/2

/ F"

And for the above function = 3 x2 + 7 / x + 5 cos x F" = 6 x - 7 / x2 - 5 sin x The output is written into the CON.
Program ( 9 )

IMPLICIT DOUBLE PRECISION( A - H , O - Z ) OPEN( 8 , FILE = ' XVALUES.DAT ' , STATUS = ' OLD ' ) READ ( 8 , * )K DO 37 I = 1 , K READ( 8 , * )X CALL COMPUTE ( X , YDASH , YDDASH , RC ) WRITE( * , 10 )X , YDASH , YDDASH , RC 37 10 CONTINUE FORMAT( 4F20.3/ ) STOP END 9

SUBROUTINE COMPUTE ( U , FDASH , FDDASH , RC ) IMPLICIT DOUBLE PRECISION( A - H , O - Z ) PI = 4.0D0*DATAN( 1.0D0 ) FDASH = 3.D0*PI*U**2 + 7.0D0/U +5.0D0*DCOS( U ) FDDASH = 6.0D0*PI*U -7.0D0/U**2 - 5.0D0*DSIN( U ) RC = ( 1.0D0+FDASH**2 ) **1.5 / FDDASH RETURN END

Example ( 10 ) If A , B and C are three ( 30x 60 ) matrices , write a FORTRAN program in order to evaluate the following function at L values for X , Y and Z:
M1 2

=
i = 1

[b ( i + 1 , j ) . X i + c ( i , j ) . Y i + j - a ( i , j-1 ) . Z j ] ,
j = N

if the three matrices , the integer L , and the X , Y , Z values are read from a file and the output ( F ) is written into the CON.
Program ( 10 ) IMPLICIT DOUBLE PRECISION( A - H , O - Z ) DOUBLE PRECISION A( 30 , 60 ) , B( 30 , 60 ) , C( 30 , 60 ) OPEN( 9 , FILE = ' INPUT.LST ' , STATUS = ' OLD ' ) M = 30 N = 60 DO 8 I = 1 , M 8 9 10 READ( 9 , * ) ( A( I , J ) , J = 1 , N ) DO 9 I = 1 , M READ( 9 , * ) ( B( I , J ) , J = 1 , N ) DO 10 I = 1 , M READ( 9 , * ) ( C( I , J ) , J = 1 , N ) READ( 9 , * ) L DO 50 K = 1 , L 10

READ( 9 , * )X , Y , Z SUM = 0.0D0 DO 40 I = 1 , M-1 PROD = 1.0D0 DO 30 J = N , 2 PROD = PROD *( B ( I+1 , J ) * X**I + C ( I , J ) * Y**( I + J ) - A ( I , J -1 )*Z**J ) 30 40 CONTINUE SUM = SUM + PROD CONTINUE F = SUM WRITE ( * , * ) F 50 CONTINUE STOP END

Example ( 11 ) Write a FORTRAN code , which stores the non-zero elements of a banded matrix B ( K x K ) , having a band width 3 , into a one-dimensional array H( N ) , if in such case : H ( 2i + j 2 ) = N = 3 K 2. The program reads K; and then the elements of the matrix B ( row by row ) from a file. Assume that K should not exceed 60 in the program and the output is written into a file.
Program ( 11 ) IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) DIMENSION B ( 60 , 60 ) , H ( 178 ) OPEN( 8 , FILE = ' INPUT.DAT ' , STATUS = ' OLD ' ) OPEN( 9 , FILE = ' OUTPUT.DAT ' , STATUS = ' UNKNOWN ' ) READ ( 8 , * ) K 11

B( i , j ),

and so ,

DO 13 I = 1 , K 13 READ( 8 , * ) ( B( I , J ) , J = 1 , K ) DO 14 I = 1 , K DO 14 J = 1 , K IF ( J . GE . I - 1 . AND . J . LE . I + 1 ) THEN H ( 2*I + J 2 ) = B ( I , J ) END IF 14 10 CONTINUE WRITE ( 9 , 10 ) ( H ( I ) , I = 1 , 3 * K - 2 ) FORMAT ( 10 F13.4 ) STOP END

Example ( 12 ) Write a Fortran code , which stores the lower triangle of a lower diagonal matrix B ( M x M ) , into a one-dimensional array H ( N ) , if in this case : H(k) = where k = i ( i+1 )/2 - i +j and so , N = M(M+1)/2 The program reads M; and then the elements of the matrix B ( row by row ) from a file. Assume that M should not exceed 80 in the program and the output is written into a file.
Program ( 12 ) REAL*8 B( 80 , 80 ) , H( 3240 ) OPEN( 8 , FILE = ' INPUT.DAT ' , STATUS = ' OLD ' ) OPEN( 9 , FILE = ' OUTPUT.DAT ' , STATUS = ' UNKNOWN ' ) READ ( 8 , * ) M DO 13 I = 1 , M 13 READ( 8 , * ) ( B( I , J ) , J = 1 , M ) 12

B( i , j ),

DO 14 I = 1 , M DO 14 J = 1 , M IF ( J .LE. I ) THEN K = I * ( I+1 ) / 2 - I +J H( K ) = B( I , J ) END IF 14 10 CONTINUE WRITE ( 9 , 10 ) ( H ( I ) , I = 1 , M * ( M+1 ) / 2 ) FORMAT ( 10 F13.4 ) STOP END

Example ( 13 ) Given a matrix B ( 30x 60 ) , write a FORTRAN program in order to evaluate the following function at L values for X , Y and Z:
M3 3

i = 3

[b (

i , j ) . X i-1 . Y j+3 . Z i+j ] ,

j = N-1

if the matrix , the integer L , and the X , Y , Z values are read from a file and the output ( F ) is written into the CON.
Program ( 13 ) IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) DOUBLE PRECISION B( 30 , 60 ) OPEN( 9 , FILE = ' INPUT.LST ' , STATUS = ' OLD ' ) M = 30 N = 60 DO 9 I = 1 , M 9 READ( 9 , * ) ( B( I , J ) , J = 1 , N ) READ( 9 , * ) L DO 50 K = 1 , L READ( 9 , * )X , Y , Z 13

SUM = 0.0D0 DO 40 I = 3 DO 40 J = 40 CONTINUE F = SUM WRITE ( * , * ) F 50 CONTINUE STOP END , M-3 , 3 N-1

SUM = SUM + B ( I , J ) * X**( I 1 ) * Y**( J + 3 ) * Z**( I + J )

Example ( 14 ) Write a FORTRAN program that reads the arrays A( 20 ) and B ( 20 , 20 ) from a file and then computes the following polynomial:
12 3

i =1

a(i)3

[
j = 17

b( i, j )

],

Program ( 14 )
DIMENSION A( 20 ) , B ( 20 , 20 ) OPEN( 8 , FILE = ' INPUT.LST ' , STATUS = ' OLD ' ) READ( 8 , * ) ( A( I ) , I = 1 , 20 ) DO 11 I = 1 , 20 11 READ ( 8 , * ) ( B( I , J ) , J = 1 , 20 ) SUM1 = 0.0 DO 77 I = 1 , 12 SUM2 = 0.0 DO 66 J = 17 , 3 SUM2 = SUM2 + B( I , J ) 66 CONTINUE SUM1 = SUM1 + SUM2 * A ( I ) **3

14

77

CONTINUE WRITE( * , * ) SUM1 STOP END

Example ( 15 ) Given two points A & B , which have coordinates ( x1 , y1 , z1 ) and ( x2 , y2 , z2 ) , respectively. Write a FORTRAN program that reads these coordinates from the CON; and then computes the direction cosines of the line AB , which are given by: = ( x 2 - x1 ) / s = ( y2 y1 ) /s = ( z2 z1 ) / s , with s = [ ( x2 - x1 )2 + ( y2 y1 )2 + ( z2 z1 )2 ] 1/2 The output should be written into the CON.

Program ( 15 ) IMPLICIT DOUBLE PRECISION ( A - H , O - Z ) READ( * , * ) X1 , Y1 , Z1 READ( * , * ) X2 , Y2 , Z2 S = DSQRT ( ( X2 - X1 )**2 + ( Y2 - Y1 )**2 + ( Z2 - Z1 )**2 ) ALPHA = ( X2 - X1 ) / S BETA = ( Y2 Y1 ) / S GAMA = ( Z2 Z1 ) /S WRITE ( * , 10 ) ALPHA , BETA , GAMA 10 FORMAT ( 4F10.3 ) STOP END

15

Example ( 16 )

Given a matrix H ( 335 , 210 ) , which has only 153 non-zero elements. It is required to write a FORTRAN subroutine that scans the matrix H and returns its non-zero elements in a one dimensional array.

Program ( 16 )

SUBROUTINE FIND ( H , E ) DIMENSION H ( 335 , 210 ) , E ( 153 ) N = 0 DO 17 I = 1 , 335 DO 17 J = 1 , 210 IF ( H( I , J ). NE. 0.0 ) THEN N = N+1 E(N) = H(I,J) END IF 17 CONTINUE RETURN END Program (17)

C C

PROGRAM FOR COMPUTING THE AREA OF A CLOSED POLYGON HAVING "N " SIDES DIMENSION X( 100 ) , Y( 100 ) OPEN ( 11 , FILE = ' INPUT.LST ' ) READ ( 11 , * )N DO 13 I = 1 , N 13 READ ( 11 , * ) X( I ) , Y( I ) AREA = X( 1 ) * ( Y( 2 ) - Y( N ) ) + X( N ) * ( Y( 1 ) - Y( N - 1 ) ) DO 14 I = 2 , N-1 14 AREA = AREA + X( I ) * ( Y( I + 1 ) - Y( I - 1 ) ) AREA = 0.5 *ABS( AREA ) 16

WRITE( * , 18 ) AREA 18 FORMAT( F20.3 ) STOP END

Example ( 18) Write a computer program that reads the two vectors E (50) and H (50) from a file; and computes the vector D (50), if: Di = Ei
5

- H i 3 + 13 E i 2

( i = 1 , 2 , .. , 50)

Program (18) DIMENSION E ( 50 ) , H ( 50 ) , D ( 50 )

OPEN ( 8 , FILE = ' ARRAYS.DAT ' ) OPEN ( 9 , FILE = ' ARRAYS.OUT ' ) READ ( 8 , * ) ( E ( I ) , I = 1 , 50 ) READ ( 8 , * ) ( H ( I ) , I = 1 , 50 ) DO 13 I = 1 , 50 13 15 D ( I ) = E ( I ) **5 - H ( I ) **3 + 13.0 * E ( I ) **2 WRITE ( 9 , 15 ) ( D ( I ) , I = 1 , 50 ) FORMAT ( 10 F 14.3 ) STOP END

Example ( 19)

Write a Fortran code that reads the three matrices A (15 x 17) , B (15 x 23) and C (23 x 23) from a data file. Then the program computes the matrix E: E = 14.7 A . AT . B + 38.5 B . C After that, the program stores the zero and positive elements of the matrix E in a vector H. (Assume a suitable size for the vector H )
17

Program ( 19) DIMENSION A ( 15 , 17 ) , B ( 15 , 23 ) ,C ( 23 , 23 ) , AT ( 17 , 15 ) , *AAT ( 15 , 15 ) , AB ( 15 , 23 ) , BC ( 15 , 23 ) , E ( 15 , 23 ) , H ( 345 ) OPEN ( 8 , FILE = ' MATRIX.DAT ' ) OPEN ( 9 , FILE = ' MATRIX.OUT ' ) DO 55 I = 1 , 15 55 66 77 READ ( 8 , * ) ( A ( I , J ) , J = 1 , 17 ) DO 66 I = 1 , 15 READ ( 8 , * ) ( B ( I , J ) , J = 1 , 23 ) DO 77 I = 1 , 23 READ ( 8 , * ) ( C ( I , J ) , J = 1 , 23 ) AT = TRANSPOSE ( A ) AAT = MATMUL ( A , AT ) AB = MATMUL ( AAT , B ) BC = MATMUL ( B , C ) E 88 110 = 14.7 * AB + 38.5 * BC DO 88 I = 1 , 15 WRITE ( 9 , 110 ) ( E ( I , J ) , J = 1 , 23 ) FORMAT ( 10 F 15.3 ) K=0 DO 99 I = 1 , 15 DO 99 J = 1 , 23 IF ( E ( I , J ) . GE . 0.0 ) THEN K=K+1 H(K)=E(I,J) END IF 99 CONTINUE WRITE ( 9 , * ) WRITE ( 9 , 110 ) ( H ( I ) , I = 1 , K ) STOP END

18

Example ( 20) Write a software which reads the integer number k, the upper diagonal matrix U (k , k) from a file. Then, this program should compute the trace R and the determinant D of this matrix, which are given by: k R = U ii
i =1

D = U11 . U22 . U33

. ..

Ukk

( k does not exceed 130 in the program)

Program ( 20) DIMENSION U ( 130 , 130 ) OPEN ( 13 , FILE = ' MATRIX.DAT ' ) OPEN ( 14 , FILE = ' RD.OUT ' ) READ ( 13 , * ) K DO 15 I = 1 , K 15 READ ( 13 , * ) ( U ( I , J ) , J = 1 , K ) R = 0.0 D = 1.0 DO 16 I = 1 , K R=R+U(I,I) 16 10 D=D*U(I,I) WRITE ( 14 , 10 ) R , D FORMAT ( 2 F 10.3 ) STOP END

19

Example ( 21)

Write a computer program that reads the two arrays E (1 x 20) and H (20 x 1) from a file; and computes S, where S = 3 E . H - 5 E . ET + 23 HT . H

Program ( 21)

DIMENSION E ( 20 ) , H ( 20 ) OPEN ( 13 , FILE = ' INPUT.DAT ' ) READ ( 13 , * ) ( E ( I ) , I = 1 , 20 ) READ ( 13 , * ) ( H ( I ) , I = 1 , 20 ) S1 = 0.0 DO 10 I = 1 , 20 10 S1 = S1 + E ( I ) * H ( I ) S2 = 0.0 DO 20 I = 1 , 20 20 S2 = S2 + E ( I ) **2 S3 = 0.0 DO 30 I = 1 , 20 30 S3 = S3 + H ( I ) **2 S = 3.0 * S1 - 5.0 * S2 + 23.0 * S3 WRITE ( * , * ) S STOP END

20

Example ( 22)

Write a Fortran code, which stores the non-zero elements of a banded tri-diagonal matrix D ( 70 x 70 ) in a one-dimensional array H ( 208 ) , given that: H ( 2 i + j 2 ) = D ( i , j ) The program reads the matrix D from a file. (No storage is required for D)

Program ( 22)

DIMENSION H ( 208 ) OPEN ( 13 , FILE = ' INPUT.DAT ' ) OPEN ( 14 , FILE = ' OUTPUT.DAT ' ) DO 15 I = 1 , 70 DO 15 J = 1 , 70 READ ( 13, * ) ELEMENT IF ( J . GE . ( I 1 ) . AND . J . LE . ( I +1 ) ) THEN H ( 2*I + J 2 ) = ELEMENT END IF 15 110 CONTINUE WRITE ( 14 , 110 ) ( H ( I ) , I = 1 , 208 ) FORMAT ( 11 F10.3 ) STOP END

21

Das könnte Ihnen auch gefallen