You probably want the unsigned area, which means you don't compute the integral
[tex]\displaystyle\int_0^{2\pi}\sin x\,\mathrm dx[/tex]
but rather, the integral of the absolute value,
[tex]\displaystyle\int_0^{2\pi}|\sin x|\,\mathrm dx[/tex]
[tex]\sin x[/tex] is positive when [tex]0<x<\pi[/tex] and negative when [tex]\pi<x<2\pi[/tex], so
[tex]\displaystyle\int_0^{2\pi}|\sin x|\,\mathrm dx=\int_0^\pi\sin x\,\mathrm dx-\int_\pi^{2\pi}\sin x\,\mathrm dx[/tex]
[tex]\displaystyle\int_0^{2\pi}|\sin x|\,\mathrm dx=(-\cos x)\bigg|_0^\pi-(-\cos x)\bigg|_\pi^{2\pi}[/tex]
[tex]\displaystyle\int_0^{2\pi}|\sin x|\,\mathrm dx=\boxed{4}[/tex]