Skip to content

NewtSafe

Oscar Veliz edited this page Jun 26, 2020 · 5 revisions

Newton-Bisection Hybrid video

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:

Correction to Video

Video Mistakes and How to Fix Them

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.