summaryrefslogtreecommitdiff
path: root/1184/CH7/EX7.3/Ex7_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1184/CH7/EX7.3/Ex7_3.sce')
-rwxr-xr-x1184/CH7/EX7.3/Ex7_3.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1184/CH7/EX7.3/Ex7_3.sce b/1184/CH7/EX7.3/Ex7_3.sce
new file mode 100755
index 000000000..be43d503c
--- /dev/null
+++ b/1184/CH7/EX7.3/Ex7_3.sce
@@ -0,0 +1,12 @@
+//Example 7-3, Page No - 225
+
+clear
+clc
+
+N =12
+SINAD1=78
+SINAD2 = 6.02*N + 1.76
+ENOB =(SINAD1 -1.76)/6.02
+
+printf('The SINAD for 12 bit convertre is %d dB',SINAD2)
+printf('\n The ENOB for the converter with SINAD of 78 dB is %.2f bits',ENOB)