blob: 0a615e5573170c5b81a848c8a554e276de2f68ce (
plain)
1
2
3
4
5
6
7
8
9
10
|
clc
// Given that
mu_w = 1.33 // refractive index of water
mu_g = 1.5 // refractive index of glass
// Sample Problem 5 on page no. 3.25
printf("\n # PROBLEM 5 # \n")
Ip = atan(mu_g / mu_w) * (180 / %pi) // calculation for Brewster angle
printf("\n Standard formula used \n Ip = atan(mu_g / mu_w) * (180 / pi). \n")
printf("\n Brewster angle = %f degree",Ip)
|