Using MATLAB to find the two limits of SiNx / X and the 1 / x power of (1 + x)

Using MATLAB to find the two limits of SiNx / X and the 1 / x power of (1 + x)


>> limit(sin(x)/x,0)
ans =
one
>> limit(sin(x)/x,inf)
ans =
0
>> limit((1+x)^(1/x),inf)
ans =
one
>> limit((1+x)^(1/x),0)
ans =
exp(1)



How to expand a symbolic expression into power series in MATLAB
Is to find the power series coefficient


syms x
f = sin(x)
Taylor (f)% expansion into power series (x0 = 0)
Taylor (F, - 1)% is expanded at x0 = - 1