**1.** Can you compute ?

Well, first we consider the antiderivative for …which doesn’t exist.

What do we do? Cry. No, what I mean is, use Taylor series!

**2.** We should recall the Taylor series for cosine is

(1)

So we plug in to the series and we get

(2)

Now we plug (2) into our integral, we get

(3)

This is a more manageable calculation, but we end up with an infinite series

(4)

How do we evaluate this?

**3.** We usually truncate it at some point. For example, we know each term decreases (the series converges absolutely). So if we stop at the fifth term, we are throwing away terms smaller than

(5)

So to about 7 digits, this gives us a good approximation

(6)

where we truncate to 7 digits (i.e., we throw away everything after 7 digits, since it’d be corrected by higher order terms in the series).

### Like this:

Like Loading...

*Related*

## About Alex Nelson

I like math. I like programming. Most of all, I love puzzles.