Performing Symbolic Math in Java

I am writing a simple Java program (I use Eclipse) that solves some simple equations by opening a file and viewing the contents through a scanner, and solves the equation by rewriting the contents of the file as the result.

I want my program to also be able to perform symbolic integration and output. I was looking for a way to do this, but can't find it - I looked at Symja but couldn't figure out how to implement this in my code.

Basically, I need instructions on how to call integration / derivation methods inside my own Eclipse project. Example. I would like to say someMethod.Integrate(function)and perform integration or something like that. Can someone provide me with a simple, easy to follow how to do this? Does DataMelt work?

+4
source share
2 answers

Have you tried Apache Math? http://commons.apache.org/proper/commons-math/

Here's an example of dervation / integration: http://commons.apache.org/proper/commons-math/userguide/analysis.html#a4.5_Integration

Hope this helps!

0
source
0
source

All Articles