- 50.9k
- 11
- 133
- 364
Inspired by this question.
Given a list containing numbers, print:
- The sum and product of the numbers in the list
- The average and median
- The differences between each term in the list (e.xg.
[1,2,3] -> [1,1]: 1+1=2, 2+1=3) - The list, sorted ascending
- The minimum and maximum of the list
- The standard deviation of the list
For reference:
Standard Deviation
Standard Deviation
Where μ
$$\sigma=\sqrt{\frac1N\sum^N_{i=1}(x_i-\mu)^2}$$
Where \$\mu\$ is the mean average, xi\$x_i\$ is the i\$i\$th term in the list, and N\$N\$ is the length of the list.
Shortest code wins. Good luck!
Inspired by this question.
Given a list containing numbers, print:
- The sum and product of the numbers in the list
- The average and median
- The differences between each term in the list (e.x.
[1,2,3] -> [1,1]: 1+1=2, 2+1=3) - The list, sorted ascending
- The minimum and maximum of the list
- The standard deviation of the list
For reference:
Standard Deviation
Standard Deviation
Where μ is the mean average, xi is the ith term in the list, and N is the length of the list.
Shortest code wins. Good luck!
Inspired by this question.
Given a list containing numbers, print:
- The sum and product of the numbers in the list
- The average and median
- The differences between each term in the list (e.g.
[1,2,3] -> [1,1]: 1+1=2, 2+1=3) - The list, sorted ascending
- The minimum and maximum of the list
- The standard deviation of the list
For reference:
Standard Deviation
$$\sigma=\sqrt{\frac1N\sum^N_{i=1}(x_i-\mu)^2}$$
Where \$\mu\$ is the mean average, \$x_i\$ is the \$i\$th term in the list, and \$N\$ is the length of the list.
Shortest code wins. Good luck!
Inspired by this question this question.
Given a list containing numbers, print:
- The sum and product of the numbers in the list
- The average and median
- The differences between each term in the list (e.x.
[1,2,3] -> [1,1]: 1+1=2, 2+1=3) - The list, sorted ascending
- The minimum and maximum of the list
- The standard deviation of the list
For reference:
Standard Deviation
Standard Deviation
Where μ is the mean average, xi is the ith term in the list, and N is the length of the list.
Shortest code wins. Good luck!
Inspired by this question.
Given a list containing numbers, print:
- The sum and product of the numbers in the list
- The average and median
- The differences between each term in the list (e.x.
[1,2,3] -> [1,1]: 1+1=2, 2+1=3) - The list, sorted ascending
- The minimum and maximum of the list
- The standard deviation of the list
For reference:
Standard Deviation
Standard Deviation
Where μ is the mean average, xi is the ith term in the list, and N is the length of the list.
Shortest code wins. Good luck!
Inspired by this question.
Given a list containing numbers, print:
- The sum and product of the numbers in the list
- The average and median
- The differences between each term in the list (e.x.
[1,2,3] -> [1,1]: 1+1=2, 2+1=3) - The list, sorted ascending
- The minimum and maximum of the list
- The standard deviation of the list
For reference:
Standard Deviation
Standard Deviation
Where μ is the mean average, xi is the ith term in the list, and N is the length of the list.
Shortest code wins. Good luck!
Inspired by this question.
Given a list containing numbers, print:
- The sum and product of the numbers in the list
- The average and median
- The differences between each term in the list (e.x.
[1,2,3] -> [1,1]: 1+1=2, 2+1=3) - The list, sorted ascending
- The minimum and maximum of the list
- The standard deviation of the list
For reference:
Standard Deviation
Standard Deviation http://www.mathsisfun.com/data/images/standard-deviation-formula.gifStandard Deviation
Where μ is the mean average, xi is the ith term in the list, and N is the length of the list.
Shortest code wins. Good luck!
Inspired by this question.
Given a list containing numbers, print:
- The sum and product of the numbers in the list
- The average and median
- The differences between each term in the list (e.x.
[1,2,3] -> [1,1]: 1+1=2, 2+1=3) - The list, sorted ascending
- The minimum and maximum of the list
- The standard deviation of the list
For reference:
Standard Deviation
Standard Deviation http://www.mathsisfun.com/data/images/standard-deviation-formula.gif
Where μ is the mean average, xi is the ith term in the list, and N is the length of the list.
Shortest code wins. Good luck!
Inspired by this question.
Given a list containing numbers, print:
- The sum and product of the numbers in the list
- The average and median
- The differences between each term in the list (e.x.
[1,2,3] -> [1,1]: 1+1=2, 2+1=3) - The list, sorted ascending
- The minimum and maximum of the list
- The standard deviation of the list
For reference:
Standard Deviation
Standard Deviation
Where μ is the mean average, xi is the ith term in the list, and N is the length of the list.
Shortest code wins. Good luck!