Use Matlab to solve the system x2+xy3=9 ,
3x2y-y3 =4 using Newton's method for
nonlinear system. use...
60.1K
Verified Solution
Link Copied!
Question
Advance Math
Use Matlab to solve the system x2+xy3=9 ,3x2y-y3 =4 using Newton's method fornonlinear system. use each of initial guesses(x0,y0)=(1.2,2.5), (-2,2.5), (-1.2,-2.5),(2,-2.5) observe which root to which the method converges, thenumber of iterates required and the speed of convergence.
Write the system in the form f(u) = 0, and report for each casethe number of iterations needed for ||f(u)||2?10-12?.
Answer & Explanation
Solved by verified expert
4.0 Ratings (655 Votes)
clcclear allintial conditionx12y25tolerencetol1e12err05Initial points save in x1and x2 for print purposex11xx21yn2whileerrtolfunctio Ff1 x2xy39f23x2yy34 partial derivatives of F linearizationf112xy3f123y2xf216xyf223x23y2Jf11 f12 f21 f22 jacobian matrixJ1invJZx yJ1f1 f2 newton formulaerrnormf1 f22xZ1yZ2 Every iteration values save in x1 and x2 for printx1nxx2nynn1endndispdispiteration x1 x2 dispfor i1n1fprintfd 15f 15f ix1ix2ienddisp Intersection pointxydispNumber of iterations with initial condition 1225n1clcclear allintial conditionx2y25tolerencetol1e12err05Initial points save in x1and x2 for print
See Answer
Get Answers to Unlimited Questions
Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!
Membership Benefits:
Unlimited Question Access with detailed Answers
Zin AI - 3 Million Words
10 Dall-E 3 Images
20 Plot Generations
Conversation with Dialogue Memory
No Ads, Ever!
Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!