public static Expr GetDerivativeOfDegree(
            this Expr symbolicFunction,
            Expr variable,
            int derivativeDegree)
        {
            for (int i = 0; i < derivativeDegree; i++)
            {
                symbolicFunction = symbolicFunction.Differentiate(variable);
            }

            return(symbolicFunction);
        }