Question: 1) Write a MATLAB code for finding root of r3 + 4x2 = 10 by using Newton method where x = 1 and the

1) Write a MATLAB code for finding root of r3 + 4x2

 

1) Write a MATLAB code for finding root of r3 + 4x2 = 10 by using Newton method where x = 1 and the tolerance(tol) will be determined by the user. The programme will display "The root is approximately'... 'within' tol and calculate the relative error. 2) Write a MATLAB code for finding solution of x-3x - 3 = 0 by using fixed-point iteration method by taking 2 as the initial guess. The pro- gramme gives the truncation error where the number of iterations will be determined by the user.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!