from sympy import Function, Symbol x = Symbol('x') f = Function('f') g = Function('g')(x)
import sympy as smp from sympy import *
import sympy x = sympy.symbols('x') f = x**2 + 1
smp.integrate((1+smp.sqrt(x))**smp.Rational(1,3)/smp.sqrt(x),x)