Author(s): K.S. Kölbig | Library: MATHLIB |
Submitter: | Submitted: 15.01.1988 |
Language: Fortran | Revised: 15.03.1993 |
Function subprograms SIMPS and DSIMPS use Simpson's rule to compute an approximate value of the integral
On CDC or Cray computers, the double-precision version DSIMPS is not available.
Structure:
FUNCTION subprograms
User Entry Names: SIMPS, DSIMPS
Files Referenced: Unit 6
External References: MTLMTR, ABEND
Usage:
In any arithmetic expression,
SIMPS(F,A,B,N) or DSIMPS(F,A,B,N)
Error handling:
Error D101.1: or odd.
The function value is set equal to zero, and a message is written on
Unit 6, unless subroutine MTLSET (N002) has been called.