summaryrefslogtreecommitdiff
path: root/3637/CH4/EX4.22/Ex4_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '3637/CH4/EX4.22/Ex4_22.sce')
-rw-r--r--3637/CH4/EX4.22/Ex4_22.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3637/CH4/EX4.22/Ex4_22.sce b/3637/CH4/EX4.22/Ex4_22.sce
new file mode 100644
index 000000000..999ed2f7a
--- /dev/null
+++ b/3637/CH4/EX4.22/Ex4_22.sce
@@ -0,0 +1,15 @@
+//problem 22 pagenumber 4.47
+//given
+n=10;format(6);
+vfs=10.24;//volt
+distortion=56;//dB
+//determine ENOB SNRmax
+q=vfs/(2^n*sqrt(12));
+snrmax=(6.02*n+1.76);//formula for SNRmax
+disp('SNRmax = '+string(snrmax)+' dB');
+format(2);
+en=(distortion-1.76)/6.02;
+disp('ENOB = '+string(en));//no unit
+
+
+