[ Home | GAUSS | GAUSS Engine | GAUSS Apps | 3rd Party Apps | Keywords Index ] Analytical integration
This example shows how Symbolic Tools can use the Maple kernel to evaluate integrals analytically.
We want to integrate a function (1/(1+x^2)), and then evaluate the function at some point. The GAUSS code to do this is put in a string (txt), and sent to the Maple kernel using the symrun command. Note that we use the GAUSS command intquad to do the integration, but have extended the language to allow for symbols, which is shown in the second argument. The symbolic integral is returned as a string (fint). The integral is evaluated in the kernel by specifying a numeric value for x, (using symput) and then returning the result in (fint_s) using symget. The output from this example is :
|