x is displacement and A is the amplitude of motion