Question on solving an equation with "max" functions

asked 2016-08-09 17:54:38 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >750 is welcome to improve it.

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?

Thanks

edit retag flag offensive close merge delete