-
-
Notifications
You must be signed in to change notification settings - Fork 22
NewtSafe
Oscar Veliz edited this page Jun 26, 2020
·
5 revisions
The video covering the Newton Bisection Hybrid (Newt-Safe) can be found here https://youtu.be/FD3BPTMGJds. Example code is given in NewtSafe.adb file, written in Ada. You can run the program via CodingGround. To run the program locally have Ada installed (MinGW.org) then type gnatmake NewtSafe.adb
in the terminal in the directory where NewtSafe.abd is saved then type newtsafe
to run. If you'd rather not use the terminal use an IDE instead like Geany to build and run the program.
Reference links:
- Marc Spiegelman https://www.ldeo.columbia.edu/~mspieg/e4300/BlankPDFs/Lecture06_blank.pdf
- rtsafe from Numerical Recipes http://numerical.recipes/
- Numerical Methods That Work by Forman S. Acton https://books.google.com/books?id=cGnSMGSE5Y4C&lpg=PA41&pg=PA51#v=onepage&q&f=false
The bracket shrinking condition used in Numerical Recipies does not match the one used in the video and example code. A discussion on the differences can be found in the Video Mistakes video.