summaryrefslogtreecommitdiff
path: root/2210/CH8/EX8.8/8_8.sce
diff options
context:
space:
mode:
Diffstat (limited to '2210/CH8/EX8.8/8_8.sce')
-rwxr-xr-x2210/CH8/EX8.8/8_8.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2210/CH8/EX8.8/8_8.sce b/2210/CH8/EX8.8/8_8.sce
new file mode 100755
index 000000000..5991a155f
--- /dev/null
+++ b/2210/CH8/EX8.8/8_8.sce
@@ -0,0 +1,12 @@
+//Chapter 8, Problem 8
+clc
+fl=18.7e6 //lowest frequency at the divider
+fo=50e3 //divider output
+fl2=38.7e6 //highest frequency at the divider
+
+//calculation of division factor
+N=fl/fo
+N2=fl2/fo
+
+printf("Lowest value of division factor, N = %d \n\n",N)
+printf("Highest value of division factor, N = %d ",N2)