Write efficient matlab code that uses horners rule

Assignment Help Mathematics
Reference no: EM132389142

Assignment on Horner‘s Rule

Consider two polynomials a (x) = Σk=0n αkxn-k with αk ∈ R, k = 0 : n and b(x) = Σk=0m βkxm-k with βk ∈ C, k = 0:m and write efficient Matlab code that uses Horner‘s rule in order to compute a(2) o b(1) (x) with x ∈ C.

Test your code on a, b and x given in the provided Matlab data file InpHorner_ab.

Recall that an algorithm is efficient when it is fast, it is not wasteful of storage, and does not produce unnecessarily inaccurate results. For the given data the answer is a(2) o b(1) (x) = (46.039 + 2.4881i) x 102 rounded to five significant digits.

Your hand out should include a brief theoretical discussion of how you proceed, along with your code and its results.

While testing your code you may find useful the build-in matlab function polyval.

Reference no: EM132389142

Questions Cloud

Explain how your unit aligns with your teaching philosophy : For your Final Paper for ECE642, you will create a one-week thematic unit. "Thematic teaching supports children in forming connections among individual bits.
Where and how does carbohydrate get digested : 1. Where and how does carbohydrate get digested? 2. Where and how does protein get digested? 3. What stimulates the gastric and cephalic phase?
Explain the purpose of making nadh in glycolysis : Explain the purpose of making NADH in glycolysis, the Grooming Phase, and the Krebs Cycle, and FADH2 in the Krebs Cycle
What would be the effect of organophosphates : What would be the effect of organophosphates on the levels of acetylcholine at the neuromuscular junction?
Write efficient matlab code that uses horners rule : Write efficient Matlab code that uses Horner‘s rule in order to compute a(2) o b(1) (x) with x ? C - Your hand out should include a brief theoretical discussion
Rice breeder to improve yield in strain : What is the heritability for yield? would you advice a rice breeder to improve yield in this strain of rice plants by (artificial) selection?
Develop a population of drosophila : Suppose you want to develop a population of Drosophila that would rapidly learn to avoid certain substances the flies could detect by smell.
Develop meaningful relationships in given problem : "Family engagement has long been emphasized as part of developmentally appropriate practice for programs serving young children and their families".
Protein content in the next generation : What will be the most likelyeffect on milk protein content in the next generation?

Reviews

Write a Review

Mathematics Questions & Answers

  Find the dimension of each room

An architect has allocated a rectangular space of 264 ft second power for a square dining room and a 10-ft wide kitchen. Find the dimension of each room.

  At what time is the psi highest

Air pollution the amount of nitrogen dioxide, a brown gas that impairs breathing, present in the atmosphere on a certain may day in the city of long beach.

  How fast would sam have to run to be john

During that 300 m, he covers at a speed of 4.6 m/s. How fast would Sam have to run to be John?

  End behavior of the graph of the polynomial function

Use the Leading Coefficient Test to determine the end behavior of the graph of the polynomial function f(x) = 11x3 - 6x2 +x + 3

  Construct a huffman code for the symbols with ascii codes

Construct a Huffman code for the symbols with ASCII codes given the frequency of their occurrence in representative input.

  How algebra affects personal life business and science

Explains a surprising finding about how algebra affects personal life, business, and science and provides examples.

  What is the max area that can be enclosed

A developer wants to enclose a rectangular grassy lot that borders a city street for parking. If the developer has 324 feet of fencing and does not fence the side along the street, what is the max area that can be enclosed?

  Find the probability that all the bulbs selected are good

A bin contains 62 light bulbs of which 7 are defective. If 4 light bulbs are randomly selected from the bin with replacement, find the probability that all the bulbs selected are good ones. Round to the nearest thousandth if necessary.

  Benefits of normal data versus skewed data

Are people scared of skewed data? What are the benefits of normal data versus skewed data?

  Find the dimensions of the package of maximum volume

A rectangular package with a square base to be sent by a postal service can have a maximum combined length and girth (perimeter of a cross section) of 108 inches. Find the dimensions of the package of maximum volume that can be sent.

  Show that given function is harmonic

Show that given function is harmonic

  Angular speed of the wheels in radians per minute

A cyclist is riding a bicycle whose wheels have a radius of 15 inches. Suppose she Is traveling at 30 miles per hour (useful fact  1mi=5280ft). a. Find the angular speed of the wheels in radians per minute.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd