Register to reply 
Mathematica: Adams BashforthMoulton method and its errors 
Share this thread: 
#1
Mar1212, 07:38 AM

P: 8

Greetings PF. I am new to the subject of numerical methods and I'm interested in using the Adams method in Mathematica, this one with a predictorcorrector algorithm, to numerically solve a system of differential equations (firstorder system).
As I'm pretty green I was reading this page http://reference.wolfram.com/mathema...lvePlugIns.cdf and its section on the Adams method. I don't have the skill to make a more efficient algorithm than the one prescribed in there, so I just copypasted all the necessary code into my Mathematica notebook. With this I could use it within NDSolve by adding "Method > AdamsBM". It works, rolls ok with my system and when I take the difference in solutions of the "regular" unspecified method of NDSolve with this AdamsBM method, there's some difference depending on the working precision I tell AdamsBM to work in. So they really are different and this "working precision" plays some role. What I'm really interested in at this point is the error of this numerical AdamsBM method. So in short  how do I calculate this error? How do I know that this AdamsBM is better than the other for example? I've read around a bit on the internet but couldn't find anything that fits my level of understanding regarding this subject. Actually I have some other questions as well, but they are tied in with this question about the error of the method at hand. I think it's a good starting point. Any advice or help is most appreciated, whether it's about the Adams method in general or any of its specifics. Thanks in advance! 


#2
Apr2614, 10:59 AM

P: 21

Can you give me the code. The link that you gave me broken



#3
Apr2814, 12:31 PM

P: 1,030

What if you selected a DE that was simple enough that there is an exact analytical solution available? Then run the Adams and the NDSolve and compare the results with the exact solution? Then choose another DE with an exact solution, but that is more difficult for the numerical methods. Repeat as needed.



Register to reply 
Related Discussions  
Errors in computing the CrankNicolson Method  Programming & Computer Science  2  
AdamsMoulton formula  Calculus & Beyond Homework  0  
Errors In Mathematica  Math & Science Software  6  
AdamsBashforth and AdamMoulton  Calculus & Beyond Homework  1 