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 --- 2609/CH13/EX13.5/ex_13_5.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2609/CH13/EX13.5/ex_13_5.sce (limited to '2609/CH13/EX13.5/ex_13_5.sce') diff --git a/2609/CH13/EX13.5/ex_13_5.sce b/2609/CH13/EX13.5/ex_13_5.sce new file mode 100755 index 000000000..c625cbc47 --- /dev/null +++ b/2609/CH13/EX13.5/ex_13_5.sce @@ -0,0 +1,17 @@ +////Ex 13.5 +clc; +clear; +close; +format('v',6); +Vout=15;//V +Vin=20;//V +INL=2;//mA(INL=Iadj+Iref) +Iadj=60;//mA(Assumed) +Iref=INL-Iadj/1000;//mA +Vref=1.25;//V +R1=Vref/Iref*1000;//ohm +VR2=Vout-Vref;//V +R2=VR2/INL*1000;//ohm +disp("Design values are : "); +disp(R1,"Resistance, R1(ohm)"); +disp(R2/1000,"Resistance, R2(kohm)"); -- cgit