I like this even better that what I was doing for the intended illustration
in our book. The URL is
https://www.math.duke.edu/education/calculustext-rev11/Chapter10/Section10-3/Chapter10-3-3M.html
and the interact is at the very bottom of the page. Thanks, John.
On Wednesday, March 6, 2013 3
Just for the fun of it, I was playing with:
@interact
def _(m=slider(1,250,1,1)):
plot(x^m/e^x,(x,0,2*m)).show()
and things work really nice till m = 128. After that, it still runs but
the graph has horizontal issues--using either aleph or 5.5.
JT
--
You received this message because y
Thanks, Jason. I never would have thought of that, but on reflection, it
appeared that the latex formatter would never switch to scientific
notation, and this is a case where you definitely want it. I suppose the
error was when it ran out of room for all those digits. With that removed,
Sage
On 3/1/13 9:02 AM, kcrisman wrote:
For reference,
x = var("x")
@interact
def _(f = input_box(x, label='$f(x) = $', width=40),
x_range=input_grid(1,2,[[-8,8]], label='$x$ range', width=10),
auto_update=False):
a,b=x_range[0]
html("\[ f (x) = %s \]"%str(latex(f)) )
p1=plot(f, (x
For reference,
x = var("x")
@interact
def _(f = input_box(x, label='$f(x) = $', width=40),
x_range=input_grid(1,2,[[-8,8]], label='$x$ range', width=10),
auto_update=False):
a,b=x_range[0]
html("\[ f (x) = %s \]"%str(latex(f)) )
p1=plot(f, (x,a,b), color='blue', legend_label='$f(
On Thursday, February 28, 2013 9:06:45 PM UTC-5, kcrisman wrote:
>
>
>
> 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
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
> > funct
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
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 o