diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /45/CH12/EX12.6/example_12_6.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '45/CH12/EX12.6/example_12_6.sce')
-rwxr-xr-x | 45/CH12/EX12.6/example_12_6.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/45/CH12/EX12.6/example_12_6.sce b/45/CH12/EX12.6/example_12_6.sce new file mode 100755 index 000000000..a7606bb04 --- /dev/null +++ b/45/CH12/EX12.6/example_12_6.sce @@ -0,0 +1,13 @@ +//Example 12.6
+clc;
+clear;
+I=10/(3*10^3);
+printf("Current each input digital voltage must be capable of supplying is =%f mA\n",I*1000)
+ful_scale_voltage = 0 ;
+for i=1:5
+ op_v(1,i)= 10/2^i;
+ ful_scale_voltage = ful_scale_voltage + op_v(1,i);
+end
+V_A=ful_scale_voltage * (2*1000)/(1000+(2*1000));
+printf("\n Output voltage Va = %f V",V_A);
+
\ No newline at end of file |