The period of the function is 2π/w, and the distance between adjacent intersections of the X axis is half-period. So? π / w =? π/2, so w = 2.
The lowest point is substituted into w x+phi = 2k? π? +3π/2, combined with 0