ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 09 Aug 2016 17:54:38 +0200Question on solving an equation with "max" functionshttps://ask.sagemath.org/question/34386/question-on-solving-an-equation-with-max-functions/ I tried the following command
var('p,v,a,f,m,d,g,n,e')
(p==v/(a+max_symbolic(f/(m/a),f/(p*d))+max_symbolic(g/(n/a),g/(p*e)))).solve(p)
to try to get a closed form for `p`, but the function that came back contained `p`:
[p == v/(a + max(a*f/m, f/(d*p)) + max(a*g/n, g/(e*p)))]
I am a complete ignoramus using SAGE but I've had luck before simplifying similar equations to get a closed form. Any ideas?
ThanksTue, 09 Aug 2016 17:54:38 +0200https://ask.sagemath.org/question/34386/question-on-solving-an-equation-with-max-functions/