Since we have a right triangle we can use the pythagorean theorem to find the length of side QR. Doing so, we have:
Since we have the hypotenuse and the opposite length of angle R,then we can formulate the following equation with the ratio sine:
Since we have the hypotenuse and the adjacent length of angle P,then we can formulate the following equation with the ratio cosine: