trick/trick_source/trick_utils/SAIntegrator/examples/DoubleIntegral
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 Update DoubleIntegral example for the Tutorial. #1097 2021-01-27 12:36:07 -06:00
.gitignore SAIntegrator: Add gitignore files. 2021-02-25 22:58:39 -06:00
DoubleIntegral.cpp Update DoubleIntegral example for the Tutorial. #1097 2021-01-27 12:36:07 -06:00
makefile Add double integral example to trick_utils/SAIntegrator #1058 2020-10-02 16:29:55 -05:00
plot_trajectory.py Disambiguate python use #1250 (#1251) 2022-03-22 15:15:40 -05:00
README.md Update DoubleIntegral example for the Tutorial. #1097 2021-01-27 12:36:07 -06:00

Double Integral

This is a code example of how one can compute a double integral.

This example code computes the following definate integral :

Equation

using the SA::RK4Integrator.

The correct answer is 4.

$ make
$ ./DoubleIntegral
Volume = 3.99989.