I'm having trouble understanding how to express integrals as the limit of Riemann sums and visa versa. I've attached a picture with the current problem I'm working on if someone wouldn't mind helping me I'd really appreciate it. You can see my current (incorrect) response to the question to get an idea of what I was TRYING to do.