logo Use SA10RAM to get 10%* Discount.
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Gabriel WalkerHistory
(5/5)

811 Answers

Hire Me
expert
Ravindranath Reddy EragamreddyEngineering
(/5)

648 Answers

Hire Me
expert
Ray BjorkCriminology
(5/5)

563 Answers

Hire Me
expert
Luis RiveraFinance
(5/5)

981 Answers

Hire Me
Mathematics
(5/5)

One zero is found within the right number of function calls for each function tested.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Implement the modified zeroin algorithm discussed in class.

You should turn in a .m file modifiedzeroinxxx.m which contains a matlab function of the form

function [root,info] = modifiedzeroin(@func,Int,params)

where xxx is your student id. On input, func is a function handle, Int is the initial inter- val, [Int.a, Int.b], containing a root, and params is an object that contains at least three fields params.root tol, params.func tol and params.maxit. Your algorithm should terminate once the interval containing the root is at most params.root tol in length, or the function value at the current iterate is at most params.func tol in absolute value. On output, root is the computed root, and info should have at least one field info.flag, which is 0 for a successful execution, and 1 otherwise.

Your program will be tested against a few functions of our choice, against the following criteria:

 

1. (60 points) A zero is found within given tolerances for each function tested.

2. (40 points) One zero is found within the right number of function calls for each function tested.

 

Your program will receive 0 points if it is found to be highly similar to the matlab built-in function fzero. You must do all your programming work by yourself.

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme

Get Free Quote!

373 Experts Online