
November 11th, 2010, 05:04 AM
#1
Calculate integral in Java
Dear all,
I was wondering if there are some functions that can calculate indefinite and definite integral in Java. I could not find any. Is any library support that and can be imported?
I really appreciate any help.
Regards,
kalgik

November 11th, 2010, 11:44 AM
#2
Re: Calculate integral in Java
There's no standard library support for this but there may be free libraries available if you search online.

June 22nd, 2019, 05:17 AM
#3
Re: Calculate integral in Java
Goal: given continuous function f(x) of one variable, compute ∫ f(x) dx over interval from a to b. TrapezoidalRule.java numerically integrates a function of one variable using the trapezoidal rule
__________________
Last edited by 2kaud; June 22nd, 2019 at 08:05 AM.
Reason: Removed advert

June 24th, 2019, 12:08 AM
#4
Re: Calculate integral in Java
Originally Posted by kalgik
I was wondering if there are some functions that can calculate indefinite and definite integral in Java. I could not find any. Is any library support that and can be imported?
I would have a serious look at Matlab (or some other highlevel math package). It's possible to call Matlab functions from Java,
https://www.mathworks.com/help/matla...fromjava.html
Then you get access to lots of math functions including numerical integration,
https://www.mathworks.com/help/matla...=doc_srchtitle
And possibly even symbolic manipulation of math expressions,
https://www.mathworks.com/help/symbo...=doc_srchtitle
Last edited by wolle; June 24th, 2019 at 12:12 AM.
Posting Permissions
 You may not post new threads
 You may not post replies
 You may not post attachments
 You may not edit your posts

Forum Rules

Click Here to Expand Forum to Full Width
OnDemand Webinars (sponsored)
