If the resultant of two forces P and Q be equal in magnitude to one of the components P and perpendicular to it in direction, then the value of Q is