1. Your program must include a comment header with Author, Assignment (Program 5), Description, and Due Date 2. Write a function to compute a general term in the sum. The function should allow an integer argument, k. Call the function A and it should return the value given by:A(k) = (4k)!(1103 + 26390k) (k!)43964k 3. Write a function called pi recip. The function should use a while loop to sum the terms, (A), until the last term of the sum is less than 10−15. Once the sum is done, it should be multiplied by 2 √ 2 9801 . 4. Use the result of pi recip to get an approximation for π. 5. Print with clear explanation the computed estimate of π and Python’s version of π which is math.pi. 6. Your program that you submit must be a script in a file named program5 WillM.py where you replace WillM with your first name and last initial.












Other samples, services and questions:
When you use PaperHelp, you save one valuable — TIME
You can spend it for more important things than paper writing.