Physicsissuef said:
And what happens, when there is total internal reflection? Like on the animation, there is only reflection, but what happens with the waves that are going inside of the medium?
It happens that...you have total reflection!

What do you mean with your question?
Snell's law states that
[tex]sin\theta_1/sin\theta_2 = n_2/n_1[/tex]
where
[tex]\theta_1, \theta_2, n_1, n_2[/tex]
are the angle of the light beam in medium1, the angle in the medium2, the refractive index of the first and the second medium, respectively. If n1 > n2 so that n1/n2 > 1 you have
[tex]sin\theta_2 = sin\theta_1 *n_1/n_2 > sin\theta_1[/tex]
so I can have
[tex]sin\theta_2 = 1[/tex]
with
[tex]sin\theta_1 < 1[/tex]
that is when
[tex]sin\theta_1 = 1*n_2/n_1[/tex]
If medium1 = water and medium2 = air, then
[tex]n_2/n_1 \cong 0.75[/tex]
and
[tex]\theta_1 \cong 48.6^\circ[/tex]
so this means
[tex]\theta_1 > 48.6^\circ\Rightarrow \theta_2 > 90^\circ[/tex]
that is: the refracted beam is not in air but goes back in water = you have total reflection.