trick/trick_source/trick_utils/SAIntegrator/examples/DefiniteIntegral
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
..
images Add DefiniteIntegral example for Tutorial. #1097 2021-01-27 12:30:36 -06:00
.gitignore SAIntegrator: Add gitignore files. 2021-02-25 22:58:39 -06:00
DefiniteIntegral.cpp Add DefiniteIntegral example for Tutorial. #1097 2021-01-27 12:30:36 -06:00
makefile Add DefiniteIntegral example for Tutorial. #1097 2021-01-27 12:30:36 -06:00
plot_trajectory.py Disambiguate python use #1250 (#1251) 2022-03-22 15:15:40 -05:00
README.md Add DefiniteIntegral example for Tutorial. #1097 2021-01-27 12:30:36 -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.