1. Modify the statistics program from this chapter so that client programs have more flexibility in computing the mean and/or standard deviation. Specifically, redesign the library to have the following functions: mean (nums) Returns the mean of numbers in nums. stdDev (nums) Returns the standard deviation of nums. meanStdDev (nums) Returns both the mean and standard deviation of nums. 2. Extend the gpasort program so that it allows the user to sort a file of ‒‒ COLD C 40 10:05 PM 4/30/2022

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter6: Modularity Using Functions
Section6.4: A Case Study: Rectangular To Polar Coordinate Conversion
Problem 9E: (Numerical) Write a program that tests the effectiveness of the rand() library function. Start by...
icon
Related questions
Question
Python ##. 1
1. Modify the statistics program from this chapter so that client programs
have more flexibility in computing the mean and/or standard deviation.
Specifically, redesign the library to have the following functions:
mean (nums) Returns the mean of numbers in nums.
stdDev (nums) Returns the standard deviation of nums.
meanStdDev (nums) Returns both the mean and standard deviation of nums.
2. Extend the gpasort program so that it allows the user to sort a file of
10:05 PM
4/30/2022
1
*
PrtScn
Home
End
PgUp F11
PgDn
F3
#
E
54
$
R
F4
DII
%
5
T
FS
A
F6
Y
87
&
U
F8
*
8
F9
9
O
F10
)
P
F12
+
G
D
Backs
Ins
Transcribed Image Text:1. Modify the statistics program from this chapter so that client programs have more flexibility in computing the mean and/or standard deviation. Specifically, redesign the library to have the following functions: mean (nums) Returns the mean of numbers in nums. stdDev (nums) Returns the standard deviation of nums. meanStdDev (nums) Returns both the mean and standard deviation of nums. 2. Extend the gpasort program so that it allows the user to sort a file of 10:05 PM 4/30/2022 1 * PrtScn Home End PgUp F11 PgDn F3 # E 54 $ R F4 DII % 5 T FS A F6 Y 87 & U F8 * 8 F9 9 O F10 ) P F12 + G D Backs Ins
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Hiring Problem
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr