summaryrefslogtreecommitdiff
path: root/1757/CH11/EX11.3/EX11_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1757/CH11/EX11.3/EX11_3.sce')
-rwxr-xr-x1757/CH11/EX11.3/EX11_3.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/1757/CH11/EX11.3/EX11_3.sce b/1757/CH11/EX11.3/EX11_3.sce
new file mode 100755
index 000000000..70d25c70c
--- /dev/null
+++ b/1757/CH11/EX11.3/EX11_3.sce
@@ -0,0 +1,10 @@
+//Example11.3 // determine the resolution of 4-bit D/A converter
+clc;
+clear;
+close;
+VFS = 12 ;
+N = 4 ;
+
+// the resolution of 4-bit D/A converter is defined as
+Resolution = VFS/(2^N-1) ;
+disp('the resolution of 4-bit D/A converter is = '+string(Resolution)+ ' V ');