Calculating light intensity with Fresnel's Equations [closed]

When light gets reflected or transmitted by another medium it's intensity splits for both the parallel and perpendicular component. Using Fresnel's equations calculating the reflected intensity which comes from the light staying in the same medium is not so difficult because the geometry and speed of the light doesn't change. (It would simply be the square of the reflection coefficient.)

But for the transmitted light this will change and I was wondering how this can be described mathematically.

With that I would also be able to prove that(as stated above) when light gets in contact with another medium the intensitiy from the incoming light equals the sum of the reflected and the transmitted intensities.

$$I_0 = I_t + I_r$$

closed as off-topic by Buzz, ZeroTheHero, Jon Custer, Kyle Kanos, GertFeb 5 at 19:42

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "Homework-like questions should ask about a specific physics concept and show some effort to work through the problem. We want our questions to be useful to the broader community, and to future users. See our meta site for more guidance on how to edit your question to make it better" – Buzz, ZeroTheHero, Jon Custer, Kyle Kanos, Gert
If this question can be reworded to fit the rules in the help center, please edit the question.

$$r^2+t^2\frac{ (n2 \cos (\theta t))}{n1 \cos (\theta i)}=1$$