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 --- 992/CH8/EX8.1/Ex8_1.sce | 9 +++++++++ 992/CH8/EX8.1/ex8_1.txt | 9 +++++++++ 992/CH8/EX8.1/ex8_1ans.txt | 2 ++ 992/CH8/EX8.2/Ex8_2.sce | 14 ++++++++++++++ 992/CH8/EX8.2/ex8_2.txt | 14 ++++++++++++++ 992/CH8/EX8.2/ex8_2ans.txt | 5 +++++ 992/CH8/EX8.3/Ex8_3.sce | 12 ++++++++++++ 992/CH8/EX8.3/ex8_3.txt | 12 ++++++++++++ 992/CH8/EX8.3/ex8_3ans.txt | 4 ++++ 9 files changed, 81 insertions(+) create mode 100755 992/CH8/EX8.1/Ex8_1.sce create mode 100755 992/CH8/EX8.1/ex8_1.txt create mode 100755 992/CH8/EX8.1/ex8_1ans.txt create mode 100755 992/CH8/EX8.2/Ex8_2.sce create mode 100755 992/CH8/EX8.2/ex8_2.txt create mode 100755 992/CH8/EX8.2/ex8_2ans.txt create mode 100755 992/CH8/EX8.3/Ex8_3.sce create mode 100755 992/CH8/EX8.3/ex8_3.txt create mode 100755 992/CH8/EX8.3/ex8_3ans.txt (limited to '992/CH8') diff --git a/992/CH8/EX8.1/Ex8_1.sce b/992/CH8/EX8.1/Ex8_1.sce new file mode 100755 index 000000000..3932143c8 --- /dev/null +++ b/992/CH8/EX8.1/Ex8_1.sce @@ -0,0 +1,9 @@ + +//Exa:8.1 +clc; +clear; +close; +//Given: +Bw=12;//in KHz +Nr=2*Bw; +printf("\n Nyquist sampling rate = %f KHz",Nr); \ No newline at end of file diff --git a/992/CH8/EX8.1/ex8_1.txt b/992/CH8/EX8.1/ex8_1.txt new file mode 100755 index 000000000..c04eba4b0 --- /dev/null +++ b/992/CH8/EX8.1/ex8_1.txt @@ -0,0 +1,9 @@ +//Caption:Program to calculate nyquist sampling rate. +//Exa:8.1 +clc; +clear; +close; +//Given: +Bw=12;//in KHz +Nr=2*Bw; +printf("\n Nyquist sampling rate = %f KHz",Nr); \ No newline at end of file diff --git a/992/CH8/EX8.1/ex8_1ans.txt b/992/CH8/EX8.1/ex8_1ans.txt new file mode 100755 index 000000000..6cc718c87 --- /dev/null +++ b/992/CH8/EX8.1/ex8_1ans.txt @@ -0,0 +1,2 @@ + Nyquist sampling rate = 24.000000 KHz + Execution done. diff --git a/992/CH8/EX8.2/Ex8_2.sce b/992/CH8/EX8.2/Ex8_2.sce new file mode 100755 index 000000000..79256c010 --- /dev/null +++ b/992/CH8/EX8.2/Ex8_2.sce @@ -0,0 +1,14 @@ + +//Exa:8.2 +clc; +clear; +close; +//Given: +Bw=3300;//in Hz +resol=10;//bits per sample +Nr=2*Bw;//samples per second +Brate=Nr*resol; +DigBw=5*Brate; +printf("\n Nyquist sampling rate = %f Hz",Nr); +printf("\n Bit rate is = %f bits/sec",Brate); +printf("\n Digital bandwidth = %f KHz",DigBw/1000); \ No newline at end of file diff --git a/992/CH8/EX8.2/ex8_2.txt b/992/CH8/EX8.2/ex8_2.txt new file mode 100755 index 000000000..ff8e942b1 --- /dev/null +++ b/992/CH8/EX8.2/ex8_2.txt @@ -0,0 +1,14 @@ +//Caption:Program to calculate nyquist sampling rate,bits per second,digital bandwidth. +//Exa:8.2 +clc; +clear; +close; +//Given: +Bw=3300;//in Hz +resol=10;//bits per sample +Nr=2*Bw;//samples per second +Brate=Nr*resol; +DigBw=5*Brate; +printf("\n Nyquist sampling rate = %f Hz",Nr); +printf("\n Bit rate is = %f bits/sec",Brate); +printf("\n Digital bandwidth = %f KHz",DigBw/1000); \ No newline at end of file diff --git a/992/CH8/EX8.2/ex8_2ans.txt b/992/CH8/EX8.2/ex8_2ans.txt new file mode 100755 index 000000000..f31ac1b1f --- /dev/null +++ b/992/CH8/EX8.2/ex8_2ans.txt @@ -0,0 +1,5 @@ + + Nyquist sampling rate = 6600.000000 Hz + Bit rate is = 66000.000000 bits/sec + Digital bandwidth = 330.000000 KHz + Execution done. diff --git a/992/CH8/EX8.3/Ex8_3.sce b/992/CH8/EX8.3/Ex8_3.sce new file mode 100755 index 000000000..4f4b62475 --- /dev/null +++ b/992/CH8/EX8.3/Ex8_3.sce @@ -0,0 +1,12 @@ + +//Exa:8.3 +clc; +clear; +close; +//Given: +Bw=25;//in KHz +Nr=2*Bw*1000; +printf("\n Nyquist sampling rate = %f samples/seconds",Nr/1000); +br=8;//bits +Ne=br*Nr; +printf("\n Transmitted elements = %f elements",Ne); \ No newline at end of file diff --git a/992/CH8/EX8.3/ex8_3.txt b/992/CH8/EX8.3/ex8_3.txt new file mode 100755 index 000000000..860aaa6a2 --- /dev/null +++ b/992/CH8/EX8.3/ex8_3.txt @@ -0,0 +1,12 @@ +//Caption:Program to calculate nyquist sampling rate,elements transmitted. +//Exa:8.3 +clc; +clear; +close; +//Given: +Bw=25;//in KHz +Nr=2*Bw*1000; +printf("\n Nyquist sampling rate = %f samples/seconds",Nr/1000); +br=8;//bits +Ne=br*Nr; +printf("\n Transmitted elements = %f elements",Ne); \ No newline at end of file diff --git a/992/CH8/EX8.3/ex8_3ans.txt b/992/CH8/EX8.3/ex8_3ans.txt new file mode 100755 index 000000000..91153e92f --- /dev/null +++ b/992/CH8/EX8.3/ex8_3ans.txt @@ -0,0 +1,4 @@ + + Nyquist sampling rate = 50.000000 samples/seconds + Transmitted elements = 400000.000000 elements + Execution done. \ No newline at end of file -- cgit