Result of Integration= 2.00000001920253068 Estimation of the integration error= 0.331843205027294294E-10 Indication of the result correctness (FLAG) = 0.000000000000000000E+00
program recipe c c Main program calling the ADQUAD subroutine demonstrates its use. c double precision pi,down_boundary,upper_boundary,abs_error, $rel_error,result,error,flag c pi=3.1415926535d0 ! Ludolf number c down_boundary=0. upper_boundary=pi abs_error=0. rel_error=1.d-9 c call ADQUAD(down_boundary,upper_boundary,abs_error,rel_error, $result,error,flag) c print *,' Result of Integration=',result print *,' Estimation of the integration error=',error print *,' Indication of the result correctness (FLAG) =',flag c end
[ Back ] |
Copyright © karolkalna
The page is designed using the Cascading Style Sheets (CSS). |