T
T
tr1ck2014-07-17 15:58:21
Programming
tr1ck, 2014-07-17 15:58:21

How to convert a Taylor series into a formula?

1 + x/2 + 3*x^2/8 + 35x^4/128 + 63x^5/256 + 231x^6/1024 + 429x^7/2048 i td
can't make a formula out of this to implement on c++.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-07-17
@tr1ck

And this is probably not a Taylor series for you :)
Because in the Taylor formula, the denominator is n!, And in your formula 2 ^ n - the denominator grows much more slowly.
Taylor series:
Consider a=0.
And try to find the values ​​of the derivatives for each member of the Taylor series.
Next, make a table, maybe it will help you find the right formula expressing the value of the derivative of n.
At least f'''(0) = 0 for you.

E
Eugene, 2014-07-17
@EvgenijDv

Have you even tried? If yes, please show the code. If not, then take it and try it. It's very simple

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question