summaryrefslogtreecommitdiff
path: root/2582/CH6/EX6.3/Ex6_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '2582/CH6/EX6.3/Ex6_3.sce')
-rwxr-xr-x2582/CH6/EX6.3/Ex6_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2582/CH6/EX6.3/Ex6_3.sce b/2582/CH6/EX6.3/Ex6_3.sce
new file mode 100755
index 000000000..04c423d74
--- /dev/null
+++ b/2582/CH6/EX6.3/Ex6_3.sce
@@ -0,0 +1,11 @@
+//Ex 6.3
+clc;clear;close;
+format('v',5)
+n=8;//no. of bits
+Range=0:10;//range
+LSB=max(Range)/2^n;//V
+MSB=max(Range)/2^0;//V
+VFS=MSB-LSB;//V
+disp(LSB*1000,"LSB(mV)");
+disp(MSB,"MSB(V)");
+disp(VFS,"VFS(V)");