clc; clear; close; Vt=2;//in volts disp(Vt,'Threshold voltage relative to gate 2(in volts)');//Capacitive divider equation disp('When 5V external voltage is applied , internal voltage will reach to -0.5V which means device is OFF'); disp('To reach 1V as internal voltage , external voltage should have value of 8V'); //values are obtained experimentally by EPROM programming