karthik3k
- 149
- 0
Calculus in Programming ??
How can i differentiate / Integrate in C/C++, PERL, PYTHON ?
How can i differentiate / Integrate in C/C++, PERL, PYTHON ?
Originally posted by rick1138
You will definitely have to look for special math libraries to find algebraic solutions. Most programming uses approximations because, as yu probably know, many integrals are not exactly solvable. Runge-Kutta is the most efficient in general, but Monte Carlo methods are sometimes used. I like the simplicity of Monte Carlo methods- screw math, just get drunk and throw darts at pictures of your equations, and you'll have the answer.