MATH 314 Quiz 04
Given on 2025-09-16
- 
Write a Python function that accepts a Numpy array (type ndarray) and calculates a mean using a for loop (and not the functionnp.mean). Recall the formula for the mean (of data) is
- 
Generate a numpy array of random numbers. Call your function on this array. 
- 
Use the numpy function np.mean(...)to check your answer.