NEWTON RAPHSON FUNCTION

버전 1.0.0.0 (2.02 KB) 작성자: Sandeep Solanki
Newton Raphson method to find root of equation.

다운로드 수: 1.2K

업데이트 날짜: 2012/6/11

라이선스 보기

% Function :
% X = newtonraphson(fun_str,Start_Point)
% Finds the root of an equation by NEWTON-RAPHSON METHOD.
%
% x(n+1) = x(n) - (F(x(n))/diff(F(x(n)));
%
% INPUTS :
% Eqn_Str : The equation whose root has to be find.
% Eqn_Str Should be an string format.
% Example :
% if F(x) = x^4 - x - 10
% the Eqn_Str = 'x^4 - x - 10';
%
% Start_Point : Initial value of root X ==> x0
%
% Max_Iter : Maximum number of iterations
%
% OUTPUT :
% X : Estimeted root of Equation.
%--------------------------------------------------------------------------
% By :-
% SANDEEP SOLANKI
% rtm_sandeep@rediffmail.com
%--------------------------------------------------------------------------

% Look demo.m for more info.

인용 양식

Sandeep Solanki (2022). NEWTON RAPHSON FUNCTION (https://www.mathworks.com/matlabcentral/fileexchange/37098-newton-raphson-function), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2009a
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!