MATH661 HW00 - Number approximation

Posted: 08/21/23

Due: 08/30/23, 11:59PM

Tracks 1 & 2: 1-4. Track 2: 5.

This homework serves as an introduction to number approximation techniques and a familiarization with homework drafting and submission procedures. No grade points are awarded, but comments on proper assignment drafting are returned.

  1. Construct a convergence plot in logarithmic coordinates of the Stern continued fraction

    π2=1-

    Identify the terms in the general expression of a continued fraction

    Fn=b0+Kk=1nakbk.

    Compare with the additive approximation of the Leibniz series

    π4=1-13+15-17+19-.,

    Estimate the rate and order of convergence for both approximations.

    Solution. (Extend the figure template below of the Leibniz approximation of π/2 to include the Stern continued fraction)

    Figure 1. Convergence of Leibniz series

  2. Apply convergence acceleration to both the above approximations involving π. Construct the convergence plot of the accelerated sequences, and estimate the new rate and order of convergence.

    Solution. (Again, feel free to modify the template below. Be careful: the Aitken formulas are valid for accelerating linear convergence. You must identify the appropriate order of convergence in Q1.)

    Figure 2. Convergence of Aitken acceleration of Leibniz series

  3. Completely state the mathematical problem of taking the nth root of a positive real, n. Find the absolute and relative condition numbers.

    Solution.

  4. Completely state the mathematical problem of finding the roots of the cubic polynomial p(x)=x3+px+q, using the Cardano [2] formula. Find the absolute and relative condition numbers.

    Solution.

  5. Completely state the mathematical problem of solving the initial value problem for an ordinary differential equation of first order. Use Lyapunov exponents [1] to find the absolute condition number.

    Solution.

Bibliography

[1]

Luís Barreira. Lyapunov Exponents. Springer International Publishing, Cham, 2017.

[2]

Girolamo Cardano. Ars magna or The rules of algebra. New York : Dover, 1993.