Hi,

On Feb 4, 2008, at 6:16 AM, vgermrk wrote:

> I want to plot a simple function:   sqrt(1-x^2)
> i tried  plot(sqrt(1-x^2),(x,1,10))  and  plot((1-x^2)^(0.5),(x,
> 1,10))  ,
> but i doesn't work.

Please, in the future, include a little information with your  
question.  It is not easy to diagnose problems in the absence of  
context: Sage version, Platform (hardware, OS, OS version) at least.

Second, try to explain what "it doesn't work" means.  The folks on  
this list are pretty good, but their talents typically don't include  
the ability to read minds.

As to what might be wrong, I think the problem is that your function  
is not one that plot() can handle.  sqrt(f) produces (non-real)  
complex numbers in the range you are specifying, while plot() expects  
real (or, at least, rational) numbers.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large
Director
Institute for the Enhancement of the Director's Income
--------
"Weaseling out of things is what separates us from the animals.
  Well, except the weasel."
       - Homer J Simpson
--------



--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to