MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: What is this doing...?...

  • To: mathgroup at
  • Subject: [mg14790] Re: [mg14766] What is this doing...?...
  • From: Jurgen Tischer <jtischer at>
  • Date: Wed, 18 Nov 1998 01:28:53 -0500
  • Organization: Universidad del Valle
  • References: <>
  • Sender: owner-wri-mathgroup at

What is it doing..., Mitch?
It shows you what happens if you approximate a function with its Taylor
series beyond its radius of convergence. If you plot for 26 you will
see there's nothing magic about 30, it's just that the highest power
dominates, so it goes up for even and down for odd powers. By the way,
at the other end it goes always down, because your highest power always
enters with a minus.


Mitch Padua wrote:
> I've having some trouble interpreting a graph I receive in mathematica,
> maybe someone can help?  Here's what I have:
> Normal[Series[Sin[x], {x,0,#}]]& /@ {1,3,5,7}
> f[#]& /@ {arg1, arg2, arg3}
> Join[{a,b,c}, {d,e}]
> plotts[fx_, a0_: 0, {x_,a_,b_}, k_List, opt___]
> :=Plot[Evaluate[Join[Normal[Series[fx,{x,a0,#}]]& /@ k, {fx}]], {x,a,b},
> opt]
> now I type the command to graph:
> plotts[Log[x+1], {x, -.99,2}, {1,3,25}, PlotRange->{-5,2}]
> and all is well however when I change the 25 to 30 I get a different
> graph, why?  What is going on here?  I believe this is a Taylor series
> or something, but can someone explain to me when I change the
> plotts[Log[x+1], {x, -.99,2}, {1,3,25}, PlotRange->{-5,2}] to
> plotts[Log[x+1], {x, -.99,2}, {1,3,30}, PlotRange->{-5,2}] I get a
> different graph?  I must admit I've only used mathematica for about 15
> an explanation as to why this graph is changing would
> really help.
> Thanks,
> --
> ____/|  Vincent M. Padua  (vpadua at \ o.O|
>  =(_)=  "Thou shalt not follow the NULL pointer for
>    U     chaos and madness await thee at its end."

  • Prev by Date: Re: looking for good introduction to Mathematica
  • Next by Date: Re: Contour plot from (x,y,z) numerical data?
  • Previous by thread: What is this doing...?...
  • Next by thread: Re: What is this doing...?...