We can get the economized series with MATLAB by employing our M-file for the Chebyshev series. We must start with
as a symbolic variable, then get the Maclaurin series and subtract the proper multiple of the Chebyshev series:
>> syms x
>> ts=taylor(exp(x),7)
1+x+l/2*x2+1/6*x^3+1/24*x^4+1/l20*x^5+1/720*x^6
>> cs=Tch(6);
>> es=ts-cs/factorial(6)/2^5
es=23041/23040+x+639/l280*x^2+1/6*x^3+7/160*x^4+l/l20*x^5
>> vpa(es,7)