The Total solution for NCERT class 6-12
Let the particle executing SHM starts oscillating from its mean position. Then displacement equation is