Alex Lin 496de8c7a9
Disambiguate python use #1250 (#1251)
* Disambiguate python use #1250

Changed all calls to /usr/bin/python to /usr/bin/env python3.  Removed execute permissions on a lot of files that are not executable.

closes #1250
2022-03-22 15:15:40 -05:00
..
2021-02-25 22:58:39 -06:00

DefiniteIntegral

This is a code example of using SAIntegrator to compute a definite integral.

This program will use the SA::RK4Integrator compute an integral of the form :

Equation

It's specifically parameterized to compute :

Equation

The correct answer is 14+2/3.

$ make
$ ./DefiniteIntegral
Integral = 14.6667.