Question: Python 3 Jupyter Notebook Data Science Problem: Here is the formula from part A: I only need to solve part D! The array for otter
Python 3 Jupyter Notebook Data Science Problem:

Here is the formula from part A:

I only need to solve part D!
The array for otter weights: otter_weights = [25, 29, 40, 19, 7, 6, 3, 12, 19, 21, 22, 45, 27]
Part D: Implement a third function called update_mean that implements the formula whose valdity you proved in Part A. (Note: this function will need to take as its input three things: n, E-1 and n.) Use this function to compute the values that you get from taking the mean of the first one otter, the first two otters, the first three otters, and so on up to all the otters. Store your otter means in a numpy array called otterations
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
