Random - Maple Help

Calculate the Random Riemann Sum

 Description Evaluate $\sum _{i=1}^{n}f\left({x}_{i}\right){\mathrm{Δx}}_{i},$the random Riemann Sum of $f\left(x\right)$, $a\le x\le b$.

The Random Riemann Sum

Enter $f\left(x\right)$:

 > ${{x}}^{{2}}{+}{1}$
 ${{x}}^{{2}}{+}{1}$ (1)

Enter the interval $\left[a,b\right]$:

 > $\left[{0}{,}{1}\right]$
 $\left[{0}{,}{1}\right]$ (2)

Enter the value of $n$:

 > ${4}$
 ${4}$ (3)

The Riemann sum with random in subinterval $i$:

 > $\mathrm{Student}\left[\mathrm{Calculus1}\right]\left[\mathrm{RiemannSum}\right]\left(,\left[1\right]..\left[2\right],\mathrm{method}=\mathrm{random},\mathrm{output}=\mathrm{value},\mathrm{partition}=\right);$
 $\frac{{84111800478481687776410191}}{{63999999998464000000009216}}$ (4)

Floating-point value:

 > $\mathrm{evalf}\left(\right)$
 ${1.314246883}$ (5)

 > 
 Commands Used