I tried a thought experiment, just learning about calculus new to it in general and could not find this definition of right Riemann sum. This is the formula I created and it seems to work. [a,b] is interval you want to integrate from. n is the number of rectangles you want to create
$$ \Delta x \cdot \sum_{i=1}^n f(a+i \Delta x) $$
$$ \Delta x = \frac{(b-a)}{n} $$
Is this formula correct for getting the correct right riemann sum approximation?