Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.2K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:
GROUPS:

Taylor series with indefinite lengths - error

Posted 11 years ago

Hi!

I am trying to conduct a very simple taylor series problem using mathematica and am getting a very interesting error.

My goal is to make a taylor series expansion of log(x) around 1 to k^th series.

It's fairly straightforward, and is very doable in wolfram alpha.

Here's my code:

   b[x_] := log (x)
    SetAttributes[k, Constant]
    Series[b[x], {x, 1, k}]

And here's my error:

Series::serlim: Series order specification k is not a machine-sized integer. >>

Any help with this would be useful !

Thanks!

POSTED BY: Warren Durrett
POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard