Maximize[(1-cos (x))(1-cos(2*x))(1-cos(3*x))]