Brewster angle and critical angle

How to simulate to show Brewster and critical angle with plane wave excitation at the interface between two media (e0 and 3e0)