summaryrefslogtreecommitdiff
path: root/911/CH10/EX10.3
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /911/CH10/EX10.3
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '911/CH10/EX10.3')
-rw-r--r--911/CH10/EX10.3/ex_10_3.pdfbin0 -> 111481 bytes
-rw-r--r--911/CH10/EX10.3/ex_10_3.sce23
2 files changed, 23 insertions, 0 deletions
diff --git a/911/CH10/EX10.3/ex_10_3.pdf b/911/CH10/EX10.3/ex_10_3.pdf
new file mode 100644
index 000000000..217791700
--- /dev/null
+++ b/911/CH10/EX10.3/ex_10_3.pdf
Binary files differ
diff --git a/911/CH10/EX10.3/ex_10_3.sce b/911/CH10/EX10.3/ex_10_3.sce
new file mode 100644
index 000000000..7283ae102
--- /dev/null
+++ b/911/CH10/EX10.3/ex_10_3.sce
@@ -0,0 +1,23 @@
+//example 10.3//
+clc
+//clears the screen//
+clear
+//clears all variables//
+f=5/1000;
+//full scale output in Amperes//
+g=2^8;
+//random value for use//
+s=f/(g-1);
+//step size = full scale output/ number of steps//
+d=bin2dec('10000010')
+//binary to decimal conversion//
+ao=d*s;
+//analog output of system//
+e=.25*f/100;
+//error =+-e//
+r0=(ao-e)*1000;
+//lower range of analog output//
+r1=(ao+e)*1000;
+//upper range of analog output//
+disp(r0, 'lower range of analog output (in mA) is =');
+disp(r1, 'upper range of analog output (in mA) is = '); \ No newline at end of file