r is the midpoint of op and qr is perpendicular to op in the diagram below find the the length of qr

Given:
OP = 20 in
QP = 26 in
Since R is the midpoint of OP, then, OR = RP
Thus
[tex]OR=RP=\frac{OP}{2}=\frac{20}{2}=10\text{ in}[/tex]To find the length of QR, use pythagoras theorem below:
[tex]\begin{gathered} a^2+b^2=c^2 \\ \\ RP^2+QR^2=PQ^2 \end{gathered}[/tex]Input values into the formula:
[tex]10^2+QR^2=26^2[/tex]Subtract 10² from both sides:
[tex]\begin{gathered} 10^2-10^2+QR^2=26^2-10^2 \\ \\ QR^2=26^2-10^2 \end{gathered}[/tex]Take the square root of both sides:
[tex]\begin{gathered} \sqrt[]{QR^2}=\sqrt[]{26^2-10^2} \\ \\ QR=\sqrt[]{676-100} \\ \\ QR=\sqrt[]{576} \\ \\ QR=24 \end{gathered}[/tex]Therefore, the length of QR is 24 in