when two forces of magnitude p and q are perpendicular to each other their resultant is of magnitude 'r'. When they are at an angle of 180 degree to each other their resultant is 'r root 2'find the ratio of p and q.