clear all
clc 
syms x
b=10;
a=2;
f=sin(x);
taylor(f,x,a,'order',b)