summaryrefslogtreecommitdiff
path: root/2210/CH8/EX8.7/8_7.sce
blob: b7c3341daf9498b01b0a6dda258f4d2b3fa5e490 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//Chapter 8, Problem 7
clc
fl=511e6                  //lowest frequency at the divider
res=1e6                   //resolution
fh=887e6                  //highest frequency at the divider

//calculation of division factor
N=fl/res
N2=fh/res

printf("Lowest value of division factor, N = %d \n\n",N)
printf("Highest value of division factor, N = %d ",N2)