under the curve. Problem 2: Following file vi.txt has 10 data recorded for currents measured across a resistor for different voltages. Write a program to read these current data into an array and this program will print the result of mean, median value and rms value (equation was provided earlier) by calling functions mean, median and rms which calculate mean, median and root-mean-squared of some numbers in an array respectively. 2.5 3.8 4.7 5.3 6.4 7.3 8.7 9.4
OR
OR