Question: Obtaining only real numbers

If for example I type :

`assuming`([dsolve({-7 = a(x)^2*b(x), a(x) = 3*b(x)}, {a(x), b(x)})], [(b(x))::real])

It gives out this :

`assuming`([dsolve({-7 = a(x)^2*b(x), a(x) = 3*b(x)}, {a(x), b(x)})], [(b(x))::real])

I want dsolve to know I'm using real numbers so it gives out something like :

[{a(x) = -21^(1/3)}, {b(x) = (-21^(1/3))*(1/3)}]

I tried some assumptions and stuff like assume(a,real), but I didn't manage to figure it out.

 

If that matters, I'm using Maple 18 student.

 

EDIT : I know dsolve is not necessary for this particular example, but I want to know if it's possible with dsolve or maybe an other tool that can handle ODE.

 

Thank you in advance !

 

Please Wait...