How is the origin chosen and where is the coordinate axis directed when solving problems of harmonic vibrations?

The reference point is placed in the equilibrium position, and the positive direction of the X-axis coincides with the possible movement of the oscillating body.

Remember: The process of learning a person lasts a lifetime. The value of the same knowledge for different people may be different, it is determined by their individual characteristics and needs. Therefore, knowledge is always needed at any age and position.