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.2 | |
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.2')
-rw-r--r-- | 911/CH10/EX10.2/ex_10_2.pdf | bin | 0 -> 112222 bytes | |||
-rw-r--r-- | 911/CH10/EX10.2/ex_10_2.sce | 28 |
2 files changed, 28 insertions, 0 deletions
diff --git a/911/CH10/EX10.2/ex_10_2.pdf b/911/CH10/EX10.2/ex_10_2.pdf Binary files differnew file mode 100644 index 000000000..062d568c6 --- /dev/null +++ b/911/CH10/EX10.2/ex_10_2.pdf diff --git a/911/CH10/EX10.2/ex_10_2.sce b/911/CH10/EX10.2/ex_10_2.sce new file mode 100644 index 000000000..a5c258dab --- /dev/null +++ b/911/CH10/EX10.2/ex_10_2.sce @@ -0,0 +1,28 @@ +//example 10.2//
+clc
+//clears the screen//
+clear
+//clears all variables//
+a=6.25
+//LSD A(0) in mV//
+b=a*2;
+//LSD B(0) in mV//
+c=a*4;
+//LSD C(0) in mV//
+d=a*8;
+//LSD D(0) in mV//
+a1=a*10;
+b1=a1*2;
+c1=a1*4;
+d1=a1*8;
+a2=a*100;
+//MSD A(2) in mV//
+b2=a2*2;
+//MSD B(2) in mV//
+c2=a2*4;
+//MSD C(2) in mV//
+d2=a2*8;
+//MSD D(2) in mV//
+fs=(a+d+a1+d1+a2+d2)/1000;
+//Full scale analog output in volts//
+disp(fs,'Full scale analog output in volts = ')
\ No newline at end of file |