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

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