Given the partition {0,π4,π2,3π4,π}, and points ˉx1=π8, ˉx2=3π8, ˉx3=5π8, and ˉx4=7π8; find R(P) for π0sin(x)dx.

Problem: 

Given the partition {0,π4,π2,3π4,π}, and points ˉx1=π8, ˉx2=3π8, ˉx3=5π8, and ˉx4=7π8; find the Riemann sum R(P) for the integral π0sin(x)dx.

Answer: 

2.05