Group Abstract Group Abstract

Message Boards Message Boards

0
|
43 Views
|
1 Reply
|
1 Total Like
View groups...
Share
Share this post:
GROUPS:

How to convert Taylor series denominators to factorials (n!)?

Posted 19 hours ago
Normal@Series[f[x], {x, x0, 7}]

From the above code, the expansion is:

enter image description here

How to convert Taylor series denominators to factorials (n!)as foll0ws?

enter image description here

expr = Normal@Series[f[x], {x, x0, 7}]
expr /. Rational[1, n_] :> 1/n!

The code shown above represents my personal attempt, though it proved unsuccessful.

POSTED BY: David carl

Here is an attempt, using Inactive:

expr = Normal@Series[f[x], {x, x0, 7}]
expr /. Rational[1, n_] :> 
  1/Inactive[Factorial][SolveValues[n == k!, k, Integers][[1]]]
POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard