code: public static String diff(String expression) throws InvalidExpressionException {
  
          ExpressionTree expTree = parseToTree(expression);
          expTree.derive();
          expTree.reduce();
  
          return expTree.toString();
      }
docs: Compute the symbolic derivative.
  @param expression the mathematical expression