Question: Real values

K heres my problem.

Say i have a function, for example y=(1-x) and i want to find out which values of x will give me a real answer (i.e. no complex numbers!)

Preferrable i would like the output to be something along the lines of... "y is real for a<x<b..."

So, basically my first idea was to write a procedure using type(y, imaginary) but that didnt seem to work too well...

Since im not very experienced with maple im trying to use the 'for x from _ to _ by {some step value} do...' loops but im not sure how to make it cycle through all values of x rather than going in steps...

Any help on this please?

 

Please Wait...