The given problem can be exemplified in the following diagram:
We can use Snell's law which says the following:
[tex]n_{\text{air}}\sin i=n_{}\sin r[/tex]
Where:
[tex]\begin{gathered} i=\text{ angle of incidence} \\ r=\text{ angle of refraction} \\ n=\text{ index of refraction of the material} \\ n_{\text{air}}=\text{ index of refraction of air} \end{gathered}[/tex]
We will take the index of refraction of air to be 1. Now we solve for the angle of refraction:
[tex]\sin i=n\sin r[/tex]
Now we divide by "n"
[tex]\frac{\sin i}{n}=\sin r[/tex]
Taking the inverse sine function:
[tex]\arcsin (\frac{\sin i}{n})=r[/tex]
The angle of incidence can be determined having into account that the sum of the given angle and the angle of incidence must be equal to 90, therefore:
[tex]\begin{gathered} 38+i=90 \\ i=90-38 \\ i=52 \end{gathered}[/tex]
Now we substitute the values:
[tex]\arcsin (\frac{\sin 52}{1.4})=r[/tex]
Solving we get:
[tex]r=34.25[/tex]
Therefore, the angle of refraction is 34.25 degrees.