diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /911/CH10/EX10.3 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-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.pdf | bin | 0 -> 111481 bytes | |||
-rw-r--r-- | 911/CH10/EX10.3/ex_10_3.sce | 23 |
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 Binary files differnew file mode 100644 index 000000000..217791700 --- /dev/null +++ b/911/CH10/EX10.3/ex_10_3.pdf 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 |