posted 6 years ago

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.

posted 6 years ago

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.

posted 6 years ago

@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

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

"Leadership is nature's way of removing morons from the productive flow" - Dogbert

Articles by Winston can be found here

Tarrell Fletcher

Ranch Hand

Posts: 60

posted 6 years ago

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.

It is sorta covered in the JavaRanch Style Guide. |