Google
 

Trailing-Edge - PDP-10 Archives - decuslib10-02 - 43,50145/qg7.doc
There are 2 other files named qg7.doc in the archive. Click here to see a list.
SUBROUTINE QG7

PURPOSE
   TO COMPUTE INTEGRAL(FCT(X), SUMMED OVER X FROM XL TO XU)

USAGE
   CALL QG7 (XL,XU,FCT,Y)
   PARAMETER FCT REQUIRES AN EXTERNAL STATEMENT

DESCRIPTION OF PARAMETERS
   XL	  - THE LOWER BOUND OF THE INTERVAL.
   XU	  - THE UPPER BOUND OF THE INTERVAL.
   FCT	  - THE NAME OF AN EXTERNAL FUNCTION SUBPROGRAM USED.
   Y	  - THE RESULTING INTEGRAL VALUE.

REMARKS
   NONE

SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
   THE EXTERNAL FUNCTION SUBPROGRAM FCT(X) MUST BE FURNISHED
   BY THE USER.

METHOD
   EVALUATION IS DONE BY MEANS OF 7-POINT GAUSS QUADRATURE
   FORMULA, WHICH INTEGRATES POLYNOMIALS UP TO DEGREE 13
   EXACTLY.
   FOR REFERENCE, SEE
   V.I.KRYLOV, APPROXIMATE CALCULATION OF INTEGRALS,
   MACMILLAN, NEW YORK/LONDON, 1962, PP.100-111 AND 337-338.