Mathematical Computer Science course taught in Fall 2008. Netwons Raphson Method - Basins of Attraction This project consists of implementing Newton Raphson Method in C++ and Matlab and calculate the basins of attraction for an equation. The documentation explains the problem statement, the basins of attraction and shows the graphs plotted in Matlab representing the basins of attraction for roots to the given problem equation. The Numercial Analysis folder contains C++ code implementing Newton Raphson method to approximate roots for the function, which produces a text file containing the outputs. This file is then read as an multi-dimensional array by colorg.m in Matlab and graphs are plotted. In the colorg.m file, roots for which basins of attraction is calculated are passed into the function. The project and documentation can be downloaded from Attachments. |
