Question: solve(eq,P^2) won't work and a negative sign issue

It's a simple equation where I'm just getting maple to run through the steps.

eq:=(m+M)=a^3/P^2; 

solve(eq,P^2);   returns an unexpected error

I wanted to see if maple could solve for P^2, poking here and there seeing what does and doesn't work.  I know I could just type it in, but can Maple do this?  Maybe I'm missing something.

Again using the same equation (sorry i don't have maple in front of me right now) but if I solve for m I get something reversed, i think after i simplify.  -M + a^3/P^2     Is there anyway to reverse the order of the answer? 

 

Please Wait...