From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1217/CH4/EX4.12/Exa4_12.sce | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100755 1217/CH4/EX4.12/Exa4_12.sce (limited to '1217/CH4/EX4.12/Exa4_12.sce') 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 -- cgit