Question: Real roots

Im  writing a loop which starts by solving a circle equation,  how do i instruct maple to follow another another set of instruction if no real roots are found?

im looking to do something like this

(x1a, x1b) := fsolve((x-h)^2+(eq2-k)^2-r^2)

if real roots are found, do this

else, do something else

end if

I hope im clear enough on what im asking. If not, please let me know.

thanks

Lovinash

Please Wait...