summaryrefslogtreecommitdiff
path: root/3866/CH9/EX9.3/Ex9_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '3866/CH9/EX9.3/Ex9_3.sce')
-rw-r--r--3866/CH9/EX9.3/Ex9_3.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3866/CH9/EX9.3/Ex9_3.sce b/3866/CH9/EX9.3/Ex9_3.sce
new file mode 100644
index 000000000..68f204717
--- /dev/null
+++ b/3866/CH9/EX9.3/Ex9_3.sce
@@ -0,0 +1,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);