SUNY Geneseo Department of Mathematics
Wednesday, March 4
Math 230 02
Spring 2015
Prof. Doug Baldwin
riemann( f, a, b, n )
(f, a, b, and n are function, lower and upper bounds on interval, & number of rectangles)
Calculate delta = (b-a)/n e.g., delta = (3-0)/3=1
Calculate sum = sum of f(x) at each left edge e.g., 0+1+2
Area = multiply sum by delta e.g., 3 × 1 = 3
Output area