ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 07 Mar 2013 14:19:21 +0100polynomial digits of pihttps://ask.sagemath.org/question/9892/polynomial-digits-of-pi/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?
Thu, 07 Mar 2013 12:28:18 +0100https://ask.sagemath.org/question/9892/polynomial-digits-of-pi/Comment by burcin for <p>How to find polynomial p_N(n) coefficients a_i_N,</p>
<p>p_N(n) = sum_i ( a_i_N * n^i , i=0:N )</p>
<p>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.</p>
<p>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?</p>
https://ask.sagemath.org/question/9892/polynomial-digits-of-pi/?comment=18086#post-id-18086This seems like a homework question.Thu, 07 Mar 2013 14:19:21 +0100https://ask.sagemath.org/question/9892/polynomial-digits-of-pi/?comment=18086#post-id-18086