Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that calculates PI with the expression : (In original picture) using the factorial function from the Python library as an additional computing
Write a program that calculates PI with the expression : (In original picture)
using the factorial function from the Python library as an additional computing tool. Compare the approximation of Pl with the code without the factorial function.
Answer the following questions:
(1) What is the value of PI when N=20?
(2) How many terms of the series are needed to achieve a value of PI approximate to 7 decimal places, that is: 3.1415926
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started