summaryrefslogtreecommitdiff
path: root/911/CH9/EX9.2/ex_9_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '911/CH9/EX9.2/ex_9_2.sce')
-rw-r--r--911/CH9/EX9.2/ex_9_2.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/911/CH9/EX9.2/ex_9_2.sce b/911/CH9/EX9.2/ex_9_2.sce
new file mode 100644
index 000000000..0d76906d3
--- /dev/null
+++ b/911/CH9/EX9.2/ex_9_2.sce
@@ -0,0 +1,14 @@
+//example 9.2//
+clc
+//clears the screen//
+clear
+//clears all existing variables//
+close
+//closes all other files//
+a=log(6000)
+//from the data//
+b=log(2)
+c=a/b;
+N=round(c)
+disp('Minimum number of flip flops=')
+disp(N) \ No newline at end of file