Use left and right endpoints and the given number of rectangles to find two approximations of the area of the region between the graph of the function and the x-axis over the given interval. (Round your answers to four decimal places.)

g(x) = 3 sin(x), [0, šœ‹], 6 rectangles

assuming equal intervals, each is of width Ļ€/6, so the Left-Endpoint approximation is

āˆ‘ f(kĻ€/6) āˆ†x
k=0..5
= 3*Ļ€/6 (f(0) + f(Ļ€/6) + ... + f(5Ļ€/6))
= Ļ€/2 (0 + 1/2 + āˆš3/2 + 1 + āˆš3/2 + 1/2)
= Ļ€ (1+āˆš3)