Compute E[X] and Var(X) for a continuous random variable from a PDF \(f(x)\) on \([a,b]\) using numerical integration.
PDF on [a,b] (shaded integral area)
The animation sweeps the shaded area from a to b. The badge shows computed E[X] and Var(X).
Math Probability • Continuous Probability Distributions
Compute E[X] and Var(X) for a continuous random variable from a PDF \(f(x)\) on \([a,b]\) using numerical integration.
The animation sweeps the shaded area from a to b. The badge shows computed E[X] and Var(X).