Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I want solution for this assignment 1. Task Description: - Write a Matlab program 2. Task Description: Based on the material provided in class, you
I want solution for this assignment
1. Task Description: - Write a Matlab program 2. Task Description: Based on the material provided in class, you will develop a solver that is able to find a zero of a function. The solver should be flexible in the sense it can perform different algorithms based on the choice of the user. The developed program will run in terminal where the type of solving method, initial guesses, and number of significant figures are given in one line. Accordingly, the program produces prints out the name of the solving method, table shows the progress of finding the solution, the solution and exit. 3. Requirements 1. Implement the following methods in separate functions: Bisection, False Position, Modified False Position, Fixed Point, Newton-Raphson, Secant Method and Modified Secant Method. 2. Your program must check for errors such as erroneous initial guesses and/or divergence. In the case of any error, the program should post an error message to the user and exit. 3. The program must produce an output on the screen that shows the details of the solution progression and information mentioned in the previous section. fy your solution plot the function and show your solution on the graph 5. Plot a graph for approximate error versus Number of iterations for all algorithms on one graph. 1. Task Description: - Write a Matlab program 2. Task Description: Based on the material provided in class, you will develop a solver that is able to find a zero of a function. The solver should be flexible in the sense it can perform different algorithms based on the choice of the user. The developed program will run in terminal where the type of solving method, initial guesses, and number of significant figures are given in one line. Accordingly, the program produces prints out the name of the solving method, table shows the progress of finding the solution, the solution and exit. 3. Requirements 1. Implement the following methods in separate functions: Bisection, False Position, Modified False Position, Fixed Point, Newton-Raphson, Secant Method and Modified Secant Method. 2. Your program must check for errors such as erroneous initial guesses and/or divergence. In the case of any error, the program should post an error message to the user and exit. 3. The program must produce an output on the screen that shows the details of the solution progression and information mentioned in the previous section. fy your solution plot the function and show your solution on the graph 5. Plot a graph for approximate error versus Number of iterations for all algorithms on one graph
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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