Question: please answer In python 3 using jupyter notebook Calculate SN-[ + e] i-1 You should use mathpi and mathe for the values of and e.

please answer In python 3 using jupyter notebook
Calculate SN-[ + e] i-1 You should use mathpi and mathe for the values of and e. Dont add and e together before adding them to the partial sum Sn-l but rather, add to Sn-1 and then add e to the result to form S Calculate Syusing the two methods we discussed in class, naive summation and compensated summation. Perform the summations for N = 106, 107, and 108 (and 109 if it doesnt take too long) The City College of New York CSc 30100- Scientific Programming Fall 2018-Prafessor Enk K. Grimmelmann, Ph.D. Calculate the time of each summation using code such as start_time time.timeO end-time = time.time() elapsed time end_time start.time Calculate the "exact" value of the sum using the expression For each of the Sy that you calculate, determine the absolute and relative errors of the results. Are these errors consistent with the expressions for errors that we discussed in class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
