diff options
Diffstat (limited to '2582/CH6/EX6.2')
-rwxr-xr-x | 2582/CH6/EX6.2/Ex6_2.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/2582/CH6/EX6.2/Ex6_2.sce b/2582/CH6/EX6.2/Ex6_2.sce new file mode 100755 index 000000000..5db7f06c4 --- /dev/null +++ b/2582/CH6/EX6.2/Ex6_2.sce @@ -0,0 +1,7 @@ +//Ex 6.2
+clc;clear;close;
+format('v',5);
+step=10.3;//mV
+reading='101101111';//reading
+Vo=step*bin2dec(reading)/1000;//V
+disp(Vo,"Output voltage(V)");
|