# It looks complicated

Calculus Level 3

If $$f(x) = \max \left( \sin x , \cos x , \dfrac12\right)$$, find the area bounded by the curve, $$y = f(x)$$, $$x$$-axis, $$y$$-axis and $$x = 2\pi$$.