Question: Write a Python code to implement a running sum to estimate cos(0.47) correct to 3 significant figures. Print your results in a tabular form as
Write a Python code to implement a running sum to estimate cos(0.47) correct to 3 significant figures. Print your results in a tabular form as given below. Also, print the final answer in an informative sentence
cos(x)=n=0(1)n(2n)!x2n=12!x2+4!x46!x6+8!x3 Write a Python code to implement a running sum to estimate cos(0.47) correct to 3 significant figures. Print your results in a tabular form as given below. Also, print the final answer in an informative sentence. Hints: Print the header and the first row outside the while loop. Include another formatted printing statement inside the loop so that it prints one row of the table every time the loop runs
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
