フィルターのクリア

Help Solving a Non-Linear system using Newton-Raphson Solver

1 回表示 (過去 30 日間)
Ryan
Ryan 2014 年 10 月 19 日
コメント済み: Geoff Hayes 2014 年 10 月 19 日
I need help solving the following problem...
A Non-Linear system of equations is given by,
(x1 ^ 3) + (x2) = 1
(x1) + (x2) = 0
Write a MATLAB function that uses the Newton-Raphson method to solve a nonlinear system of equations. The function should accept a function handle for a the nonlinear system, a function handle for the Jacobian of the nonlinear system, a stopping tolerance, and maximum number of iterations. The function should return the solution and the error estimate for each iteration. You may use the “\” command to solve the linear system. Use the following as the stopping criterion:
F(xn) / F(x0) > y
Where y is the stopping tolerance
Write a script that uses the Newton-Raphson function to solve the non-linear system above using initial guess (1,0).
Thank you so much!
  1 件のコメント
Geoff Hayes
Geoff Hayes 2014 年 10 月 19 日
Ryan - what have you tried so far? It seems that the homework question is describing how you should set up your function (with input parameters, return value), stopping criteria (either the max number of iterations has been reached or the stopping tolerance), etc. Where are you getting stuck?

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeNewton-Raphson Method についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by