The component of a vector r along X-axis will have maximum value if