root%28x%2C 7%29 ** 2
Want to compute something more complicated? Try a full Python/SymPy console at SymPy Live.