Use when the user wants an actual math result, simplification, expansion, exact value, high-precision value, analytic solution, or numerical solution for algebra, calculus, linear algebra, series, asymptotics, or ODE/PDE problems.
Use this skill when a natural-language math request should be translated into a single Wolfram Language expression and then evaluated or solved.
It fits symbolic algebra, calculus, exact arithmetic, high-precision numerics, matrix problems, series, asymptotics, and ODE/PDE tasks. It does not replace a general code executor or a multi-step notebook workflow.
python3 -m pip install --user wolframclient
python3 {baseDir}/scripts/eval_expression.py --expr "Factor[x^4 - 1]"
python3 {baseDir}/scripts/eval_expression.py --expr "DSolve[y''[x] + y[x] == 0, y[x], x]"
python3 {baseDir}/scripts/eval_expression.py --expr "N[Pi, 80]" --precision 80 --json
Import, , , , , , , and .URLReadRunRunProcessGetPutOpenReadOpenWritescripts/eval_expression.py --expr "..."Exact, Numeric, Verified, and Version.Factor[x^4 - 1]Integrate[x^2 Exp[-x], {x, 0, Infinity}]Limit[(Sin[x] - x)/x^3, x -> 0]DSolve[y''[x] + y[x] == 0, y[x], x]NDSolve[{D[u[x, t], t] == D[u[x, t], {x, 2}], u[0, t] == 0, u[1, t] == 0, u[x, 0] == Sin[Pi x]}, u, {x, 0, 1}, {t, 0, 1}]Asymptotic[LogGamma[x], x -> Infinity, 5]N[Pi, 120]wolframclient and WolframKernel.