summaryrefslogtreecommitdiff
path: root/911/CH10/EX10.5/ex_10_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '911/CH10/EX10.5/ex_10_5.sce')
-rw-r--r--911/CH10/EX10.5/ex_10_5.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/911/CH10/EX10.5/ex_10_5.sce b/911/CH10/EX10.5/ex_10_5.sce
new file mode 100644
index 000000000..d6c24722d
--- /dev/null
+++ b/911/CH10/EX10.5/ex_10_5.sce
@@ -0,0 +1,9 @@
+//example 10.5//
+//resolution//
+clc
+//clears the screen//
+clear
+//clears all variables//
+a=2^12;
+resolution=5000/(a-1);
+disp(resolution, 'Resolution of 12 bit A/D converter (in mV)=') \ No newline at end of file