Question: (a) Create a secant function in a file named secant.m that uses de secant method for the solution of non-linear equations. The function stops after

(a) Create a secant function in a file named secant.mthat uses de secant method for the solution of non-linear equations. The function stops after a maximum number of iterations Nmaxwhere the absolute value of the function is smaller than a tolerance e.

(b) Apply secant to the following functions with e= 0.5 x 10-6and Nmax= 30.

(a) Create a secant function in a file named secant.mthat uses de

6. Secant method- MATLAB (a) Create a secant function in a file named secant.m that uses de secant method for the solution of non-linear equations. The function stops after a maximum number of iterations Nmax where the absolute value of the function is smaller than a tolerance . (b) Apply secant to the following functions with = 0.5 x 10-6 and Nmax = 30. f1(x) = x2 - 5 cos sur 0.5,4 f2(x) = tan - 2 sur (1,3 f3(x) = 50 x In x - 3x2 sur 150, 100)

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 Databases Questions!