Write a function that prints the largest eigenvalue of A(500), without any extraneous output.
For a positive integer n, let A(n) be the n×n matrix with entries aij = 1/(i + j − 1). The eigenvalues of A(n) are all real numbers.
(Hint: The M-file may take a while to run if you use a loop within a loop to define A. Try to avoid this!)