blob: 022db86ed9db85c173543b674695d3c18e000834 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Example 5.30
// Computation of value of reflectance
// Page no 489
clc;
clear;
close;
// Given data
n1=3.5; // Refractive index of silicon
n2=1; // Refractive index of photodiode
//Value of reflectance
R=((n1-n2)/(n1+n2))^2;
//Display result on command window
printf("\n Value of reflectance (R) = %0.2f ",R);
|