Method

The root mean square errors

Chebyshev

8.718E-12

Chebfun

11.40E-11