This is a standing wave on a rope which is fixed at both ends. It is created when a wave moving to the right (blue) is reflected at the boundary, generating a reflected wave (black). The sum of these two waves is a standing wave (red).
Which harmonic is this? What could you change in the functions to make the other harmonics?