% The bandgap energy of silicon, Eq. (23.21) in CMOS Circuit Design,
% Layout, and Simulation

clc; clear all; close all;

T = 200:400;

Eg = 1.16 - 702e-6*T.^2./(T+1108);

plot(T, Eg, 'lineWidth', 2);
ylim([1.08 1.14]);
xlabel('Temp, Kelvin'); ylabel('E_{g}, eV');
title('Silicon Bandgap Energy vs. Temperature');
grid on;
