diff%28cot%28xy%29%2C%20y%29
Want to compute something more complicated? Try a full Python/SymPy console at SymPy Live.