Problem:
Find the first order expansion about $x = -4$ of the composition $f(g(x))$ for $f(x) = \sin (x)$ and $g(x) = $x^6$
from sympy import *
from sympy.abc import x

f = sin(x)
g = x**6
series = f.subs(x, g).series(x, -4, 1)
print(series)
