Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the polynomial ao +a1x+a2x +...ana, where ao, a1,..., an are the digits of your student number. Using a loop, construct an equivalent polynomial

Consider the polynomial ao +a1x+a2x +...ana", where ao, a1,..., an are the digits of your student number. Using a loop, construct an equivalent polynomial that follows Horner's rule, outputting the result. Note that using the "Horner" command here is not what I'm looking for; you won't get any marks for doing this. Q2. Write a short piece of Matlab code that does the following: 1. Initializes the function f(x) = 3/2-4x+1. This function has two roots. Use graphing software, locate approximately where those roots should be. 2. Defines two starting estimates a and b, one for each root. These estimates should be unique to your code; make them a little weird, while still being close enough to the roots! 3. Uses Newton's Method at least until subsequent estimates are within 0.001 for each root. You may do this in two separate loops, one for each root; or you may find a way to do this in a single loop. 4. Outputs your two estimates.

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

Step: 3

blur-text-image

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

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

Students also viewed these Programming questions