Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Consider the following system of nonlinear equations X1 X2 x3 = cos(x1) 81 sin (23) 3 + sin(x) cos(x3) 3 3 cos(x1) X2 sin
Consider the following system of nonlinear equations X1 X2 x3 = cos(x1) 81 sin (23) 3 + sin(x) cos(x3) 3 3 cos(x1) X2 sin (F3) + 9 3 6 + Perform three iterations by hand of successive substitution (using the obvious x = g(x) equations already given) starting from x = [1 1 1]. Compute the error relative to the exact solution x = [0 1/3 0]. Problem 2 (2 points) Perform by hand three iterations by hand of the Newton-Raphson method to solve the same system of Problem 1, again starting from x = [1 1 1]. Compute the error relative to the exact solution. Which method performs better? Explain your answer. Problem 3 (2 points) Solve the system of Problem 1 using a Python program: 1. Write a Python code to perform the successive iteration of Problem 1. Execute the iteration until the change in the norm of the solution relative to the previous iteration falls below = 1 x 10-4 (that is, until ||x(+)x(k)||/x(k)||
Step by Step Solution
★★★★★
3.44 Rating (163 Votes )
There are 3 Steps involved in it
Step: 1
Lets start by performing three iterations using the successive substitution method Starting with x beginbmatrix 1 1 1 endbmatrix Iteration 1 From the ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started