Given the partition {0,π4,π2,3π4,π}, find L(P) and U(P) for the integral π0sin(x)dx.

Problem: 

Given the partition {0,π4,π2,3π4,π}, find L(P) and U(P) for the integral π0sin(x)dx.

Answer: 

L(P)=π24 and U(P)=π(2+2)4