Newton's and Regula False Method on MATLAB

For the below problem, how can I find all real zeros of the functions (with Newton’s and Regula False) using the MATLAB function:
f(x)= x^3+3x^2-1

Answers (1)

1) Newton's Method : 
The following MATLAB Answer post provides a code that implements the Newton Raphson method.
Newton's method cannot be used to find multiple roots. For more information, refer to the following answer .
2) Regula Falsi Method : 
Currently there is no built-in function available in MATLAB for the Regula Falsi method. An alternative can be the following file-exchange submission. If you have any queries regarding this submission, please reach out to the author of the code.

Categories

Find more on App Building in Help Center and File Exchange

Asked:

on 12 Apr 2021

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!