Question: please do in python 3.8 Develop a function my_pi(N) that forms the result using the abbreviated taylor series. mypi N 4 =1- 1 3 +
please do in python 3.8
Develop a function my_pi(N) that forms the result using the abbreviated taylor series.
mypiN4=1-13+15+=n=1N(-1)n+12n-1
1
develop a main() function, in a file, which imports the math module and your function. Using repetition, determine the value of N such that |pi-mypi(N)/4|
2
Import the csv module to the main() function to export three lists
Submit the file(same file) that uses repetition within the main() function to compute the two lists
Produce the csv file file_MN.csv with the two lists
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
