On Wed, May 21, 2008 at 11:45 AM, mark mcclure <[EMAIL PROTECTED]> wrote:
>
> On May 21, 1:07 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
>
>> Since I know a bit more about how to optimize code in Sage,
>> I redid your function but using more tricks. The result draws
>> the above in 0.09 secon
On May 21, 1:07 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> Since I know a bit more about how to optimize code in Sage,
> I redid your function but using more tricks. The result draws
> the above in 0.09 seconds (yep!).
And Marshall wrote:
> Arg, you beat me to it. I have a solution that
Arg, you beat me to it. I have a solution that takes about twice as
long as yours; I didn't you could use _fast_float_ like that:
import math
mypi = float(pi)
def f(x,k):
if x > 0:
tz = math.exp(x*(math.log(x)))
return[x,tz*math.cos(2*mypi*k*x),tz*math.sin(2*mypi*k*x)]
if x <
On May 16, 2:44 am, Dan Pillone <[EMAIL PROTECTED]> wrote:
>
> Is there a way to plot x^x correctly?
A lovely article by Mark Meyerson entitled "The x^x Spindle"
appeared in Mathematics Magazine back in June of 96. The
article shows how to interpret the graph of x^x in 3-space,
using the complex
On May 19, 2008, at 7:08 PM, Dan Pillone wrote:
>
> Hi,
>
> Yes, I know that for lots of negative real numbers x^x is not defined,
> but for some values of x, such as x=-1 or x=-1/3 there is a real
> number answer and I don't see anything plotted. Why isn't anythng
> plotted at those discrete set
Hi,
Yes, I know that for lots of negative real numbers x^x is not defined,
but for some values of x, such as x=-1 or x=-1/3 there is a real
number answer and I don't see anything plotted. Why isn't anythng
plotted at those discrete set of values?
Dan
On May 16, 5:37 pm, Robert Bradshaw <[EMAIL
On May 15, 2008, at 11:44 PM, Dan Pillone wrote:
> Hi,
>
> I am running SAGE as a VM on a windows computer.
>
> This is somewhat related to plotting the cube root of x, but I can't
> find any method to plot the graph of x^x correctly. The best plot I
> get is only correct for nonnegative values