blob: b72806df3e0aff8bfcb201dbf181b82cf8b3f214 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Optoelectronics - An Introduction, 2nd Edition by J. Wilson and J.F.B. Hawkes
//Example 5.4
//OS=Windows XP sp3
//Scilab version 5.5.2
clc;
clear;
//given
n1=1;//Refractive index of air medium
n2=3.6;//Refractive index of GaAs medium
R=((n2-n1)/(n2+n1))^2;//Reflectance at GaAs/air interface by Fresnel equation
mprintf("\n R = %.2f",R);
|