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.
The moose likes Beginning Java and the fly likes Numerical algorithm help?(simple question) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Numerical algorithm help?(simple question)" Watch "Numerical algorithm help?(simple question)" New topic

Numerical algorithm help?(simple question)

Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 596

I want to write a application in application Java regarding solving
numerical methods.

What kind of books/tools I Should use for maths reference?

Most of the programming problems can't be solved because you don't know what the exact problem is.
Defining your problem correctly leads you to the right solution.
Alberto Caraz

Joined: Apr 27, 2007
Posts: 18
You might want to look at to give yourself an idea of what numerical analysis is.

Then you can ask some more specific questions.

Also, is there a particular reason why you want to do this in Java? Some other programming languages are widely used for this type of tasks.
Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 596

By now , I am only able to do that in Java.
You might have seen some applets solving numerical methods I think Java is one
of the best language for doing this kind of stuffs.

I know some of numerical methods but can't find way to convert it into algorithms.Any idea where to begin?(LOL, you must have)

What is Mathlab(tool)? Does Mathlab help to do this kind of stuffs?
I know many programmers use calculators and tools to do math works and
I wanna know about those tools.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
Matlab (like Mathematica) is a standalone program for solving math-related problems. It includes a complete programming language to do that. There's probably a Java API for it, too. It's not cheap, though.

It would be easier to help you if you were more specific about what kinds or algorithms you'd like to implement - differentiation, integration, differential equations, ... ?

You might also have a look at Apache Commons Math, an open source library that has a fair number of helpful classes and algorithms.
Bobby Sharma
Ranch Hand

Joined: Mar 18, 2008
Posts: 596

Well, I want to implement methods such as interpolation,extrapolation,Integration
methods, Numerical ordinary differential equations,B-spline and you whatever
you mentioned.

Hey but don't worry I am asking you to implement them for me ,I just need
tools to get help.

I know it's not wise to write this kind of program because it's already
available as free and more over there is 90% people in the world who hates
maths and something like work.

If you guys suggest not to do that then I won't but I need to create some project in Servlet/Jsp environment so pleaze help what topic I should choose to make my employer buzzed.

I think you understand what I mean.

As to apache Library it's great ,thanks my dear friend Ulf dittmer.

best regards
[ April 13, 2008: Message edited by: omi sharma ]
Manuel Leiria
Ranch Hand

Joined: Jul 13, 2007
Posts: 171
A good starting book is

Prentice Hall - Java Number Cruncher - The Java Programmer's Guide to Numerical Computing

There's another lib full of numerical methods. Google for Colt Project

Manuel Leiria<br /> <br />--------------<br />Peace cannot be kept by force; it can only be achieved by understanding. <br /> Albert Einstein
I agree. Here's the link:
subject: Numerical algorithm help?(simple question)
It's not a secret anymore!