Nouveau programme de calcul de pi

format(25)                                  
p=1000000000100011
for i=1:p
    calculpi=calculpi+1/(i*p)^2;                
end   
for j=(1:(p-1))
    calculpi=calculpi+1/(p^2-j)^2;
end
calculpi=calculpi*(p^2-p+1)
calculpi/%pi^2*6

Leave a Reply

Your email address will not be published. Required fields are marked *