summaryrefslogtreecommitdiff
path: root/462/CH10/EX10.5/ex_10_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '462/CH10/EX10.5/ex_10_5.sce')
-rwxr-xr-x462/CH10/EX10.5/ex_10_5.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/462/CH10/EX10.5/ex_10_5.sce b/462/CH10/EX10.5/ex_10_5.sce
new file mode 100755
index 000000000..da44a4969
--- /dev/null
+++ b/462/CH10/EX10.5/ex_10_5.sce
@@ -0,0 +1,6 @@
+//example 10.5//
+clc
+//clears the window//
+clear
+//clears already existing variables//
+disp('the digital value 000 should be assigned to the analog voltage interval 0V +-S/2, Since in 2''s compliment representation, there is one more negative number than the number of positive numbers, the analog voltage from -V to +V should be divided in seven intervals, each of size S=2V/7, and one digital value is to be assigned to each interval. The extra digit output 100 can be used to represent the interval -V to -9V/7') \ No newline at end of file