summaryrefslogtreecommitdiff
path: root/2414/CH10/EX10.1/Ex10_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '2414/CH10/EX10.1/Ex10_1.sce')
-rwxr-xr-x2414/CH10/EX10.1/Ex10_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2414/CH10/EX10.1/Ex10_1.sce b/2414/CH10/EX10.1/Ex10_1.sce
new file mode 100755
index 000000000..ffb51af26
--- /dev/null
+++ b/2414/CH10/EX10.1/Ex10_1.sce
@@ -0,0 +1,12 @@
+clc;
+close();
+clear();
+//page no 350
+//prob no. 10.1
+B=4; //kHz
+C=2*B;
+mprintf('(a) C=%ikbits/s\n',C);
+C=2*B*log2(4);
+mprintf(' (b) for 4-level encoding ,C=%ikbits/s\n',C);
+C=2*B*log2(128);
+mprintf(' (c) for 128-level encoding ,C=%ikbits/s',C);