Using Newton method to find value of x1 and y1
3 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Shadaab Siddiqie
2021-4-16
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.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Symbolic Math Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!