Computer Science I / Taylor Series and Approximation
Practice question · Multiple choice

Libraries compute sin(x) from a polynomial rather than from any geometric definition. Why is a polynomial the right thing for a processor to evaluate?

Hints
  1. List the operations a processor performs natively. Is sine among them?
  2. Ask what a polynomial consists of.
Show the answer

C. Because a CPU has only addition and multiplication to work with.

Why

A processor adds and multiplies, so evaluating sine means reducing it to operations that exist, and a polynomial is exactly that. The polynomial is not equal to sine; it agrees near the expansion point, so implementations first fold the argument into a small range using periodicity. Nor are the coefficients Taylor's: minimax polynomials hit the same accuracy over an interval with fewer terms.

Read the lesson: Taylor Series and Approximation →

Practise Taylor Series and Approximation

The app has 6 more questions on this lesson, and keeps your place in the course. Computer Science I is free to start.

More questions on Taylor Series and Approximation