September 2 2007 9:48:49.581 AM JACOBI_RULE FORTRAN90 version Compute a Gauss-Jacobi rule for approximating Integral ( -1 <= x <= +1 ) (1-x)^ALPHA (1+x)^BETA f(x) dx of order ORDER. The user specifies ORDER, ALPHA, BETA, and OUTPUT. OUTPUT is: "C++" for printed C++ output; "F77" for printed Fortran77 output; "F90" for printed Fortran90 output; "MAT" for printed MATLAB output; or: "filename" to generate 3 files: filename_w.txt - the weight file filename_x.txt - the abscissa file. filename_r.txt - the region file. Input summary: ORDER = 4 ALPHA = 1.00000 BETA = 0.00000 OUTPUT = "F77". c c Weights W, abscissas X and range R c for a Gauss-Jacobi quadrature rule c ORDER = 4 c ALPHA = 1.00000 c BETA = 0.00000 c c Standard rule: c Integral ( -1 <= x <= +1 ) (1-x)^ALPHA (1+x)^BETA f(x) dx c is to be approximated by c sum ( 1 <= I <= ORDER ) w(i) * f(x(i)). c w( 1) = 0.5420276537259340 w( 2) = 0.8138582720410583 w( 3) = 0.5193901904329126 w( 4) = 0.1247238838000282 x( 1) = -0.8857916077709647 x( 2) = -0.4463139727237523 x( 3) = 0.1671808647378336 x( 4) = 0.7204802713124389 r( 1) = -1.0000000000000000 r( 2) = 1.0000000000000000 JACOBI_RULE: Normal end of execution. September 2 2007 9:48:49.581 AM