454,442 Members | 1,437 Online
Need help? Post your question and get tips & solutions from a community of 454,442 IT Pros & Developers. It's quick & easy.

# Mathematical Methods

 P: 1 HI , WOULD U PLZ HELP ME IN GETTING CODES IN C AND C++ FOR SOLVING THE FOLLOWING NUMERICAL METHODS to find an approximate root: BISECTION METHOD stoppingcondition F(Pi)
8 Replies

 Expert 10K+ P: 11,448 I don't think many people here are willing to your homework for you. Either go to www.rentacoder.com and pay for the job or google for "lapack" or "linpack", both are two extremely optimized libraries that can do the job for you and much much more. Originally they were written in Fortran but both are ported to a plethora of other languages; check them out. Or you could give it a try yourself ... kind regards, Jos May 25 '07 #2

 P: 79 IF YOU HAVE NO IDEA HOW TO CODE AND YOU JUST WANT TO USE THIS TO DO YOUR MATH/NUMERICAL METHODS HOMEWORK, YOU'RE BETTER OFF LEARNING MATLAB. What's with the caps? May 25 '07 #3

 100+ P: 294 MatLab utilizes leinpack and isopack sp? But can be quite intemedating, since a great knowledge of Linear Algebra i.e. Matrix Operations --> [MatLab = Matrix Laboratory...] is needed to effectivley use the program. If you need help with coding these problems, you could post specific questions, but no one will just give you answers, the time to go through each of these would be emmense. Jun 11 '07 #4

 P: 84 About any mathematical method you'll fing here (thanks to the person who gave me this link a while ago while looking for numerical solutions to fresnel integrals), but if you are starting to program you might be scared off (just in case): numerical recipes Jun 11 '07 #5

 Expert 100+ P: 844 Just wanted to mention, don't forget to check this link Jun 11 '07 #6

 Expert 100+ P: 1,764 Just wanted to mention, don't forget to check this link Sneaky :) Savage Jun 11 '07 #7

 P: 85 All the numerical methods you require can be found atwww.nr.com . If you know how to program in C/ C++ you will find the algorithms here. If you do not wish to learn to program then buy one of the following: Mathematica/ MatLab/ Maple. It's probably cheaper to learn C++. Jun 12 '07 #8

 100+ P: 294 I would appreciate people not saying you do not have to "program" in MatLab or Mathematica. Unless you are intimate with these programs, you have no clue about what is required. I have written pages and pages of code in MatLab and Mathematica alike. Studying Computational Physics eventually requires a language a little more advanced than Fortran or C++. MatLab put the Mars Rover on Mars. Jun 12 '07 #9