Google has added a bunch of examples to the potentialAction.mathExpression-input section of the Math Solver help documentation. These examples explain how to handle derivatives, integrals, and limits ...
Mathematical function abstraction featuring symbolic differentiation, implemented using recursion. Warning: API and code is in Italian. Computes derivative of f and stores it in new function object d: ...