Using Newton method to find value of x1 and y1

1 vue (au cours des 30 derniers jours)
Batrisyia Mohamad Asri
Batrisyia Mohamad Asri le 13 Avr 2021
I have to run one iteration using Newton's method to find the values of (x1,y1) with initial guesses (x0,y0) but i am not sure how to write the code for Newton's method. These are the codes i have so far;
syms x y
f=1/8*(sqrt(10000+x^2))+1/5*(sqrt(10000+y^2))+1/2*(sqrt(x^2+y^2+2*x*y-200*x-200*y+20000))
x0 = 70
y0 = 25
I hope i could get some help here with the Newton's method code. Thank you so much in advance.

Réponses (1)

Shadaab Siddiqie
Shadaab Siddiqie le 16 Avr 2021
From my understanding you want to solve above equation using Newton's method. Here is an similar question which you can follow to solve it.

Community Treasure Hunt

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

Start Hunting!

Translated by