Question: how can I solve this equation?

Dear guys! Can anybody tell me how should I solve my problem? I have an equation that I can solve it with maple but I can't obtain a result (a number) for any values of my independent variable (z) in my equations where are as follows:

> eq := z-> 1=(m*(1+z)^3-k*(1+z)^2)*h^2/(H^2)+(((2*n-1)-(k*(1+z)^2*h^2/H^2))*((1-m+k)/(2*n-1+k))*((((H^2/h^2)-k*(1+z)^2)/(1-k))^(n-1))); 

> Y := z->if not type(z,numeric) then 'procname(z)' else fsolve(eq(z), H=h) end if;

For example if I choose m := 0.34: k := 0.04: n := -0.34: h := 0.69: , then I can't obtain Y(185) and also maybe for many other numbers of z.

thanks a lot.

Please Wait...