Write the Maclaurin polynomial P_6(x) for cos x