wood burning stoves*
The moose likes Beginning Java and the fly likes Integration Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Integration" Watch "Integration" New topic
Author

Integration

Tarrell Fletcher
Ranch Hand

Joined: Oct 07, 2011
Posts: 60
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.
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

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.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 7549
    
  18

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
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Integration
 
Similar Threads
Help needed to set up Spring IOC in a web application
Precedence
My Recursion
Head First Java - Is over complicated bad?
Assignment question - integration tier within component diagram