summaryrefslogtreecommitdiff
path: root/3866/CH5/EX5.4/Ex5_4.sce
blob: a50162a1bb9db98374ef4b06cd32a1815eb263de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc; clear; close;

Cl=100*(10^(-15));//in farad
T=200*(10^(-12));//in seconds
Reqn=12500;//in_ohms for_nmos_devices
r=(0.7*Reqn*Cl)/T;
disp(r,'W/L=');
Wn=r*100;
disp(Wn,'Wn for both nmos devices(in nanometer)=');
Wp=4*Wn;
disp(Wp,'Wp for both pmos devices(in nanometers)=' );
//answers vary due to round off error