Back to functions

mean


mean

Calculates the mean of a set of numbers


Usage: nerdamer("mean(... args)")


Parameters

expression | expression[] args A variable number of arguments

EXAMPLES:
var x = nerdamer('mean(4,2,5)');
console.log(x.toString());
x = nerdamer('mean([4,2,5])');
console.log(x.toString());
x = nerdamer.mean('x', 'r+1', '21', 'tan(x)');
console.log(x.toString());
x = nerdamer.mean('11', '12', '13', '14');
console.log(x.toString());
OUTPUT:
Back to functions