Question: Solving an equation - the age old newbie problem

Hi all

 

I have spend too much time trying to figure out why Maple won't solve this equation explicitly. Here is the code:

 

assume(0 <= s, 0 <= w, 0 <= t, 0 <= h):

diff(((w-s)^(1-t)-1)/(1-t)+(((1+r)*s)^(1-t)-1)/((1+h)*(1-t)), s);

solve(%, s)

 

It returns:

 

-(w-s)^(1-t)/(w-s)+1/(1+h)*((1+r)*s)^(1-t)/s

RootOf((w-_Z)^(1-t)*_Z+(w-_Z)^(1-t)*_Z*h-((1+r)*_Z)^(1-t)*w+((1+r)*_Z)^(1-t)*_Z)

 

(with tildes on all the variables, I guess because I have been assuming stuff about them.

 

Does anyone know how I can get Maple to solve that equation for s explicitly? Maybe I am missing some assumptions? Notice, that the equation can be solved by hand. Thanks in advance.

Please Wait...