B300: An integral of type tex2html_wrap92

Author(s): K.S. Kölbig Library: MATHLIB
Submitter: Submitted: 15.03.1993
Language: Fortran Revised:

Subroutine subprograms RSRTNT and DSRTNT calculate, based on indefinite integration, the definite integral

eqnarray42

for k=-3,-2,-1,0,1,2,3 and n=1,3, provided that tex2html_wrap_inline98 for u < x < v and the limits u,v are such that the integral converges. In particular, the Cauchy principal value is taken if k=-1 and uv < 0.

On CDC and Cray computers, the double-precision version DSRTNT is not provided.

Structure:

SUBROUTINE subprograms
User Entry Names : RSRTNT, DSRTNT
Files Referenced : Unit 6
External References: MTLMTR, ABEND

Usage:

For tex2html_wrap_inline108 (type REAL), tex2html_wrap_inline110 (type DOUBLE PRECISION),

    CALL tSRTNT(K,N,A,B,C,U,V,RES,LRL)
K
(INTEGER) Power k of x.
N
(INTEGER) Power n of tex2html_wrap_inline118 .
A,B,C
(type according to t) Coefficients a,b,c.
U,V
(type according to t) Limits of integration u,v.
RES
(type according to t) Contains, on exit, the value I provided tex2html_wrap_inline126 , the value zero otherwise.
LRL
(LOGICAL) Contains, on exit, the value .TRUE. if the integral exists in the sense described above, the value .FALSE. otherwise.

Restrictions:

1. tex2html_wrap_inline128 2. tex2html_wrap_inline130 ; tex2html_wrap_inline132 or tex2html_wrap_inline134 .

Error handling:

Error B300.1: Restriction 1 is not satisfied. Error B300.2: Restriction 2 is not satisfied.
In both cases, RES is set equal to zero and LRL is set equal to .FALSE., and a message is written on Unit 6, unless subroutine MTLSET (N002) has been called.

References:

  1. I.S. Gradshteyn and I.M. Ryzhik, Table of integrals, series, and products, (Academic Press, New York 1980) Sect. 2.26
tex2html_wrap_inline136

Michel Goossens Fri Jun 7 08:24:30 METDST 1996