Kindly help on the following.
Calculate arithmetic and geometric means for stock A: Year A B C D E 1 9.7% 10.7% 70.3% 13.0% 23.1% 2 1.1% 23.4% -54.0% 15.2% -16.0% 3 -38.9% -32.1% 40.2% -40.0% 0.8% 4 34.5% 26.3% 94.5% 57.2% 13.7% 5 14.6% 11.8% 7.3% -4.2% 41.3% 6 3.7% 1.9% 25.5% 3.9% 5.7% Geometric mean equals 4.9%; arithmetic mean equals 3.4% Arithmetic mean equals 3.4%; geometric mean equals 5.6% Geometric mean equals 7.0%; arithmetic mean equals 7.5% Arithmetic mean equals 4.1%; geometric mean equals 1.3The arithmetic mean of a series x of n numbers is defined as: Write a function arithmetic_mean(I) that takes a non-empty list I and returns its arithmetic mean as a floating-point number. In [ ]: def arithmetic_mean (1) : # Your code here return m In [ ]: arithmetic_mean ( [5, 7, 9]) == 7.0 In [ ]: arithmetic_mean ( [3.2, 2.8]) == 3.0 In [ ]: arithmetic_mean( [42] ) == 42.0a) Give the global error of the following methods. 1) Milne's Method 2) 4th order Runge-kutta 3) Runge-kutta - Fehlberg 4 ) Adams - moulton b) How many new function evaluations are needed over each step in the following. 1) Euler's Method 2) modified Euler with 2 corrections per Step. 3)ath order Runge-Levita a ) 5th onder Runge- kutta 15) milne's method with one Comaction.Determine whether the value is a discrete random variable, continuous random variable, or not a random variable. a. The exact time it takes to evaluate 27 +72 b. The time it takes to fly from City A to City B c. The political party affiliation of adults in the United States d. The number of light bulbs that burn out in the next week in a room with 15 bulbs e. The number of statistics students now reading a book f. The time required to download a file from the Internet a. Is the exact time it takes to evaluate 27 + 72 a discrete random variable, a continuous random variable, or not a random variable? ( A. It is a discrete random variable. O B. It is a continuous random variable. Q C. It is not a random variable b. Is the time it takes to fly from City A to City B a discrete random variable, a continuous random variable, or not a random variable? A. It is a continuous random variable B. It is a discrete random variable C. it is not a random variable