Trailing-Edge
-
PDP-10 Archives
-
decuslib20-02
-
decus/20-0026/qdint.doc
There are 2 other files named qdint.doc in the archive. Click here to see a list.
SAMPLE PROGRAM FOR INTEGRATION OF A TABULATED FUNCTION BY
NUMERICAL QUADRATURE - QDINT
PURPOSE
INTEGRATES A SET OF TABULATED VALUES FOR F(X) GIVEN THE
NUMBER OF VALUES AND THEIR SPACING
REMARKS
THE NUMBER OF VALUES MUST BE MORE THAN TWO AND THE SPACING
GREATER THAN ZERO
SUBROUTINES AND FUNCTION SUBPROGRAMS REQUIRED
QSF
METHOD
READS CONTROL CARD CONTAINING THE CODE NUMBER, NUMBER OF
VALUES, AND THE SPACING OF THE FUNCTION VALUES CONTAINED
ON THE FOLLOWING DATA CARDS. DATA CARDS ARE THEN READ AND
INTEGRATION IS PERFORMED. MORE THAN ONE CONTROL CARD AND
CORRESPONDING DATA CAN BE INTEGRATED IN ONE RUN. EXECUTION
IS TERMINATED BY A BLANK CONTROL CARD.