blob: be2f65893d549accc91477afa6c1311d92942e54 (
plain)
1
2
3
4
5
6
7
8
9
|
clc;
clear;
alpha=10^2 //absorption coefficient in cm^-1
absorption=0.2 //80% absorption represented in decimal format
//Calculation
d=(1/alpha)*log(1/absorption)
mprintf("Thickness of silicon= %.3f cm",d)
|