syms x y z simplify(cos(x)*cos(y+z)+cos(x)+二*cos(y+z)-sin(x)*sin(y+z)) ans = cos(x + y + z) + 二*cos(y + z) + cos(x