Playground
MF_Algebra running in your browser through Pyodide. Set result to a TimeWeb, a Timeline or an expression, then press Run.
Notes
- Everything from
from MF_Algebra import *is available. goal(optional): a test on expressions, e.g.solved_with_number(x)oris_number.title(optional): a caption.solving_web(eq, rounds=3): moves across the equals sign plus arithmetic.parse_math(r"..."): LaTeX to an MF_Algebra expression, using the parser from SymPlay.pick_variable(expr): x if it appears, otherwise the first variable.- Write
Integer(3)when Python would otherwise do the arithmetic itself.