summaryrefslogtreecommitdiff
path: root/3866/CH9/EX9.3/Ex9_3.sce
blob: 68f20471792f31fe25fbcd55676097a419e495ea (plain)
1
2
3
4
5
6
7
8
9
clc; clear; close;

col_cap=10;
cell_cap=1;
Vdd=1;
V1=((col_cap*Vdd/2)+(Vdd*cell_cap))/(col_cap+cell_cap);
mprintf('For a stored 1, V= %fVdd\n\n',V1);
V2=(col_cap*Vdd/2)/(col_cap+cell_cap);
mprintf(' For a stored 0, V= %fVdd\n\n',V2);