Ask Your Question

Revision history [back]

Try max_symbolic instead of max, and see https://doc.sagemath.org/html/en/reference/functions/sage/functions/min_max.html?highlight=max_symbolic for documentation.

Try max_symbolic instead of max, and see https://doc.sagemath.org/html/en/reference/functions/sage/functions/min_max.html?highlight=max_symbolic for documentation.

Edit: if you want a function, do

g(x) = max_symbolic(f0(x), f1(x), f2(x), f3(x))

Then you can compute g(3), etc.