Consider a pair of identical pendulums which oscillate with equal amplitude independently such that when one pendulum is at its extreme position making an angle of 2° to the right with the vertical, the other pendulum makes an angle of 1° to the left of the vertical. What is the phase difference between the pendulums?

Hint: The phase difference depends on the positions and direction of motion of the pendulums.
Step 1: Write the equations of SHM for two pendulums.
Consider the situations shown in the diagram (i) and (ii).
                                 
Assuming the two pendulums follow the following functions of their angular displacements,
                             θ1=θ0sin(ωt+ϕ1)                                               ...(i)
and                        θ2=θ0sin(ωt+ϕ2)                                               ...(ii)
As it is given that amplitude and time period being equal but phases being different.
Step 2: Find the phase of two SHMs.
Now, for the first pendulum at any time t,
                           θ1=+θ0                                           [Right extreme]
From Eq. (i), we get,
                              θ0=θ0 sin(ωt+ϕ1) or 1=sin(ωt+ϕ1)
                         sinπ2=sin(ωt+ϕ1)
or                        (ωt+ϕ1)=π2                                                   ...(iii)
Similarly, at the same instant t for the second pendulum, we have,
                               θ2=-θ02
where θ0=2° is the angular amplitude of the first pendulum. For the second pendulum, the angular displacement is one degree, therefore, θ2=θ02 and a negative sign is taken to show for being left to the mean position.
From Eq.(ii), then,                  -θ02=θ0sin(ωt+ϕ2)
                                                sin(ωt+ϕ2)=-12
or                                         (ωt+ϕ2)=-π6 or 7π6                        ...(iv)
Step 3: Find the phase difference.
From Eqs. (iv) and (iii), the difference in phases,
                         (ωt+ϕ2)-(ωt+ϕ1)=7π6-π2=7π-3π6=4π6
or                             (ϕ2-ϕ1)=4π6=2π3=120°