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 /1217/CH4/EX4.12/Exa4_12.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 '1217/CH4/EX4.12/Exa4_12.sce')
-rwxr-xr-x | 1217/CH4/EX4.12/Exa4_12.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/1217/CH4/EX4.12/Exa4_12.sce b/1217/CH4/EX4.12/Exa4_12.sce new file mode 100755 index 000000000..45ae99c97 --- /dev/null +++ b/1217/CH4/EX4.12/Exa4_12.sce @@ -0,0 +1,24 @@ +//Exa 4.12
+clc;
+clear;
+close;
+// given data
+RF=10;//in Kohm
+R1=10;//in Kohm
+R2=R1;//in Kohm
+R3=R1;//in Kohm
+R5max=50;//in Kohm
+ADmin=5;//unitless
+ADmax=200;//unitless
+//Formula : ADmin=1+2*R4/R5max
+R4=(ADmin-1)*(R5max/2);//in Kohm
+//Formula : ADmax=1+2*R4/R5min
+R5min=(2*R4)/(ADmax-1);//in Kohm
+disp("Thus design values of resistors in Kohm are :");
+disp(R1,"R1");
+disp(R2,"R2");
+disp(R3,"R3");
+disp(R4,"R4");
+disp(RF,"RF");
+disp(R5min,"R5min");
+disp(R5max,"R5max");
\ No newline at end of file |