From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2409/CH13/EX13.5/Ex13_5.sce | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 2409/CH13/EX13.5/Ex13_5.sce (limited to '2409/CH13/EX13.5/Ex13_5.sce') diff --git a/2409/CH13/EX13.5/Ex13_5.sce b/2409/CH13/EX13.5/Ex13_5.sce new file mode 100755 index 000000000..bddc8f90f --- /dev/null +++ b/2409/CH13/EX13.5/Ex13_5.sce @@ -0,0 +1,16 @@ + +//Variable Declaration + +f=4.2 //modualating frequency(MHz) +m=2.571 //Modulation index +QIF1=4.2 //Quality Impairment factor(a) +QIF2=4.5 //Quality Impairment factor(b) + +//Calculation +Dv=2*m*f //Peak to peak deviation(MHz) +PR1=12.5-20*log10(Dv/12)-QIF1+1.1*QIF1**2 //Protection ratio for case(a) +PR2=12.5-20*log10(Dv/12)-QIF2+1.1*QIF2**2 //Protection ratio for case(b) + +//Results +printf("The protection ratio for quality impairment factor of 4.2 is %.1f dB",PR1) +printf("The protection ratio for quality impairment factor of 4.5 is %.1f dB",PR2) -- cgit