Question: Solve by hand ( no importing python variable, and no AI code ) Using the text files ages 1 , ages 2 and ages 3

Solve by hand (no importing python variable, and no AI code) Using the text files ages1, ages2 and ages3
Write a program that calculates the mean and standard deviation for each data file that the user inputs the name of and produces screen output as well as writing all results to a text file named meansigma.txt. Use 4 functions which you create named GetDataFile(), FindMean(lst1), FindStdDev(lst2), OutResults(1st3) and calling them appropriately.
The mean is given by the following formula:
=??xin
The standard deviation is given by the following formula:
=??(xi-)2n2
Output file format is:
File Ages1: mean =1.94, sigma =1.0198
File Ages2: mean =19.50, sigma =0.9574
File Ages3: mean =20.20, sigma =0.7483
Solve by hand ( no importing python variable, and

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!