On Thursday, February 28, 2013 5:21:06 PM UTC-5, Dan Drake wrote:
>
> On Thu, 28 Feb 2013 at 11:56AM -0800, David Smith wrote: 
> > I've been experimenting (in an interact) with graphing x^m/e^x for large 
> > values of m, in order to demonstrate that exp grows faster than any 
> power 
> > function.  This works fine up to m=15, but at 16 (and any higher value) 
> I 
> > get a long list of errors ending with 
> > 
> > ParseFatalException: Expected end of math '$' 
> > $\verb|1e+12|$ (at char 0), (line:1, col:1) 
> > 
> > Wolfram Alpha is perfectly happy to graph this function up to m=125, and 
> after that, it fails only in lopping off the top of the graph because the 
> y-coordinates are too big. 
> > Is there some reason why Sage can't handle this? 
>
> For me, Sage works fine up to x^115. There it starts to complain that it 
> can't evaluate the function (x^115/e^x) at all points. That seems very 
> strange to me, although maybe it's running up against the 
> maximum size that floats can do -- but the plot looks fine, so maybe 
> not? 
>

I would think this is a matplotlib issue that we are encountering - after 
all, the error is about 1e+12, or a trillion, so maybe there is something 
about how we are passing the tick marks on.  David, can you give the 
*exact* command?

- kcrisman

-- 
You received this message because you are subscribed to the Google Groups 
"sage-edu" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-edu+unsubscr...@googlegroups.com.
To post to this group, send email to sage-edu@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-edu?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to