Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2010 Barcelona Spain September 2010 Proceedings Part 3 Lnai 6323

Authors: Jose L. Balcazar ,Francesco Bonchi ,Aristides Gionis ,Michele Sebag

2010th Edition

3642159389, 978-3642159381

More Books

Students also viewed these Databases questions

Question

In problem, solve each equation. log 2 (2x + 1) = 3

Answered: 1 week ago

Question

4. Identify the challenges facing todays organizations

Answered: 1 week ago