Your taylor polynomial should be as such

Which is correct, now to approximate the error, the best thing I would do is find a power series representation of this polynomial and since this series would be an alternating series you can implement the error as I stated earlier