Question

The number r can be approximated by the following series, write a program that uses a while

Fig: 1