Matlab Code to calculate the reflectance from a surface at normal incidence
1. Using Matlab, write a code to calculate the reflectance (R) from a surface at normal incidence. Effectively, code the solution to Fresnel’s equations. The incident medium being air, and the surface from which reflection takes place: Si. Please gather data on wavelength dependence of refractive index (n) of Si and use that to calculate R as a function of wavelength.
2. Repeat task 1 with angular dependence coming in
3. Create an array of pillars on the Si cell surface and calculate R for normal incident.