The standard deviation, S, of a list of N numbers x{subi}is definedas follows: (
ID: 3609087 • Letter: T
Question
The standard deviation, S, of a list of N numbers x{subi}is definedasfollows:
(it is sumthin like this, just with math symbols....)
s = sqrt ( { sum (x^2) - [sum (x)]^2 / n } / (n - 1) )
x{sub1}, x{sub2}...., Define a function that takse apartially filled
array of numbers as its arguments and returns the standarddeviation of
the numbers in the partially fille array. Since a partially filledarray
requires two arguments, the function will automatically have twoformal
parameters: An array parameter and a formal parameter of type intthat
gives the number of array positions used. The numbers in the arraywill be
of type double. Embeded your function in a suitable testprogram.