summaryrefslogtreecommitdiff
path: root/978/CH9/EX9.1/Example9_1.sce
blob: d64e1cf38da9b3a07f4a17d64bc634dff720d723 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//chapter-9,Example9_1,pg 501

fc=1.3*10^6//centre frequency

fsignal=1*10^6//frequency of the signal

fvfo=0.3*10^6//frequency of variable frequency oscillator

per=(fvfo/fc)*100

printf("percent variation\n")

printf("per=%.3f",per)