Have you drawn a picture? of course, sin(x)< 2 for all x so the region that is being rotated to form the solid is the region between y= 2 and y= sin(x). For each x, the line segment from y= 2 to y= sin(x), which has length 2- sin(x) rotates to a disk of radius 2- sin(x) and so area . Each "disk" will have thickness dx so the volume is given by
.