how to code newton-raphson method for solving nonlinear equation with two variables
Show older comments

when i run this code it's not working. but i don't know what's wrong.
Not enough input arguments.
Error in jfreact (line 3)
x=x(1); %define values
1 Comment
madhan ravi
on 27 Apr 2020
Uploading code is better than a screenshot.
Answers (1)
Ameer Hamza
on 27 Apr 2020
This error will occur if you run jfreact() without any input arguments. You need to run it with input vector x. For example,
x = [1 2];
jfreact(x)
Categories
Find more on Newton-Raphson Method in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!