The formula for velocity in an oscillation is v=-Aw sinwt
But when v is max, amplitude is 0. Therefore following the equation replacing the A with 0 would cause v to be 0. This is not the case as we know the velocity cannot be 0 here.
Can someone please explain what is happening here.