Question 1: Write a recursive function that squares a given number n times. How often can you square pi before you run out of the range of double floating precision point numbers? Explain what is happening.
Question 2: Write a short piece of code that demonstrates that writing a floating-point number to a text file, and then reading it back in again, can result in a loss of precision.
Question 3: Come up with and clearly describe two examples (not using those above) where either the finite precision or the finite range of floating-point numbers is an issue.