Hello =)

I have the following code:

> fracy := proc (d, r) if r < d then 1 else 1-arccos(sqrt(r^2-d^2))/pi end if end proc;

> plot('fracy(x, 1)', x = 0 .. 2);

But this plots only x=1..2, not x=0..1

It only does part of the plot!

I needed to use to ' ' else it would complain that it cannot evaluate the if.

Thanks,

Remy.