trick/trick_source/trick_utils/SAIntegrator/examples/DoubleIntegral
2021-02-25 22:58:39 -06: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 Add double integral example to trick_utils/SAIntegrator #1058 2020-10-02 16:29:55 -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.