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

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