Calculates the mean value of a function within an interval.
The function
The lower bound
The upper bound
const square = Chalkboard.real.define((x) => x * x);const average = Chalkboard.calc.mean(square, 0, 1); // Returns approximately 1/3 Copy
const square = Chalkboard.real.define((x) => x * x);const average = Chalkboard.calc.mean(square, 0, 1); // Returns approximately 1/3
Calculates the mean value of a function within an interval.