You are on page 1of 1

Summary: The goal for this assignment was to take the given function and find its roots.

It was specified that we needed to use Brents method in MATLAB to solve for said roots. With the aid of the pseudo-code for Brents method posted on Black oard! I was a le to derive several functions to help solve for the roots of the e"uation. Aside from the primar# function $main%! I used & other functions in order to receive a proper solution. 'ne function $named ffirst% was used to solve the e"uation representing the general form of the target path( f m$)% * A + Bsin$,)% - .cos$/) + 0% + )2. Another function $fsec% was used to solve the following e"uation which depicts the e)act interceptor path( fi$)% * - $1) + 233%2- 23333. Afterwards I used a third function to find the difference etween ffirst and fsec! named difunc.

You might also like