y1 = Cos[z];
y2 = Exp[-(z/10)] Cos[z];
G1 = Plot[y1, {z, -20, 0}]
G2 = Plot[y2, {z, 0, 20}]
Show[G1, G2]