Problem:
Find the seventh order expansion about $x = 2$ of the composition $f(g(x))$ for $f(x) = \sqrt{x^4}$ and $g(x) = $x^4$
from sympy import *
from sympy.abc import x

f = sqrt(x**4)
g = x**4
series = f.subs(x, g).series(x, 2, 6)
print(series)
