Question: Task 3 . Please read the instructions in detail. Write everything that is required in the task clearly and legibly. Write as simple and understandable

Task 3. Please read the instructions in detail. Write everything that is required in the task clearly and legibly. Write as simple and understandable code as possible WITH COMMENTS WITH THE CODE. Begginer friendly to solve the task. Copying the same and someone else's code is not a good solution as is chat gpt.
Write scripts in Matlab with algorithms that solve a nonlinear equation with one unknown using the following methods:
1. Secant method
2. Fixed point method
Scripts should print:
a) the solution, i.e. the zero-point x0
b) f(x0)
c) the required number of iterations until convergence to the given tolerance with a corresponding message.
d) If convergence is not achieved within the given maximum number of iterations (100), it is necessary to print the last value of the solution x0 and f(x0), along with a corresponding message.
Test each method on a given function with given initial parameters.
The fixed point method needs to be run on both sides of the given interval.
Function: f(x)=2*x4-15*x2+5*x +5 Interval: [0,2]
Tolerance: 10-12 Maximum number of iterations: 100
MUST ATTACH TO SOLUTIONS:
a) Printing of Matlab program code from scripts with comments
b) Printout of results and tabular comparison of default methods and launch variants.
6. Conclusion - MUST WRITE WHAT THE USED METHODS PROVIDED AS A RESULT.

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!