16-May-2025 11:11:53 vpa_test(): MATLAB/Octave version 6.4.0. Use the Symbolic package for high precision calculations. agm_pi_test() agm_pi() computes the value of pi using the arithmetic-geometric-mean approach. Request PI to 10, 20, 40, 80 digits. Digits PI: Symbolic pkg v3.2.1: Python communication link active, SymPy v1.9. p = (sym) 3.141592654 p = (sym) 3.1415926535897932385 p = (sym) 3.141592653589793238462643383279502884197 p = (sym) 3.1415926535897932384626433832795028841971693993751058209749445923078164062862 090 How long does it take to compute PI to D digits? Digits Seconds 1 2 0.174448 2 4 0.24784 3 8 0.321897 4 16 0.396761 5 32 0.467056 6 64 0.541836 7 128 0.613826 8 256 0.698054 9 512 0.79404 10 1024 0.898263 11 2048 1.05757