This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.

Is there some type of command to help do Integration problems? I managed to just make a method for integrating a linear function, but I also need to know how to solve like X^x and then (1/1+x^5). I'm just asking if there is a method or something because I actually used MatLab and that application does it for you.

There aren't some standard methods for integration in Java although you could build some yourself. However Matlab (and some graphic calculators) have functions especially for these problems. I would stick with Matlab.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.

Wouter Oet wrote:There aren't some standard methods for integration in Java although you could build some yourself. However Matlab (and some graphic calculators) have functions especially for these problems. I would stick with Matlab.

@Tarrell: Alternatively, a Google of "java integral calculus" returned me a pile of hits, so you might want to try it yourself. I can't speak for any of the products listed though.

Winston

Isn't it funny how there's always time and money enough to do it WRONG?
Articles by Winston can be found here

Tarrell Fletcher
Ranch Hand

Joined: Oct 07, 2011
Posts: 60

posted

0

See once again I figured it out after realizing that it was asking for the recursive way to do it. Like the whole delta x divided by the number of rectangles using for the approximation. I thought it was asking me to find the antiderivative and then go about it. I haven't did that old method since Cal1 so I forgot all about it. But thanks for the tip because I would not have realized that.