We are asked to determine the length of a ship whose length is 15 meters. To determine the relative length we will use the following formula:
[tex]L=L_0\sqrt{1-\frac{v^2}{c^2}}[/tex]Where:
[tex]\begin{gathered} L=\text{ relative length} \\ L_0=\text{ original length} \\ v=\text{ velocity of the object} \\ C=\text{ speed of light} \end{gathered}[/tex]Now, we substitute the value of the speed as a function of the speed of light:
[tex]v=\frac{c}{3}[/tex]Substituting we get:
[tex]L=L_0\sqrt{1-\frac{(\frac{c}{3})^2}{c^2}}[/tex]Now, we distribute the exponent and simplify:
[tex]L=15m\sqrt{1-\frac{1}{9}}[/tex]Solving the operations:
[tex]L=14.14m[/tex]Therefore, the length of the spaceship observed by the friend is 14.14 meters.