polynomial digits of pi

asked 2013-03-07 12:28:18 +0200

anonymous user

Anonymous

updated 2015-01-13 20:37:45 +0200

FrédéricC gravatar image

How to find polynomial p_N(n) coefficients a_i_N,

p_N(n) = sum_i ( a_i_N * n^i , i=0:N )

such that p_N(n) gives the decimals of pi (where n=0...N) up to N:th decimal place. I did not find this in Sage ready made.

Does Sage have a function or another way to do this (returning a_i_N for each p_N, N ={1,2,...})? It should be both a numerical value up to a certain precision and a symbolic accurate answer?

edit retag flag offensive close merge delete

Comments

This seems like a homework question.

burcin gravatar imageburcin ( 2013-03-07 14:19:21 +0200 )edit