The Riemann sum formula (for right endpoints) is
where Δ x = b − a n {\displaystyle \Delta x={\frac {b-a}{n}}} . Compare this formula to what is given to determine the unknowns.