summaryrefslogtreecommitdiff
path: root/911/CH11/EX11.1.b/ex_11_1_b.sce
diff options
context:
space:
mode:
Diffstat (limited to '911/CH11/EX11.1.b/ex_11_1_b.sce')
-rw-r--r--911/CH11/EX11.1.b/ex_11_1_b.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/911/CH11/EX11.1.b/ex_11_1_b.sce b/911/CH11/EX11.1.b/ex_11_1_b.sce
new file mode 100644
index 000000000..d56f98abb
--- /dev/null
+++ b/911/CH11/EX11.1.b/ex_11_1_b.sce
@@ -0,0 +1,12 @@
+//example 11.1(b)//
+clc
+//clears the screen//
+clear
+//clears all existing variables//
+a=8+8+3;
+//given no of inputs//
+o=2;
+//given no of outputs//
+s=2^a*o;
+//size of prom//
+disp(s,'size of PROM =') \ No newline at end of file