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 --- 1757/CH5/EX5.2/EX5_2.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 1757/CH5/EX5.2/EX5_2.sce (limited to '1757/CH5/EX5.2/EX5_2.sce') diff --git a/1757/CH5/EX5.2/EX5_2.sce b/1757/CH5/EX5.2/EX5_2.sce new file mode 100755 index 000000000..d0aad4ae8 --- /dev/null +++ b/1757/CH5/EX5.2/EX5_2.sce @@ -0,0 +1,21 @@ +//Example5.2 // find the total offset voltage of feedback op-amp +clc; +clear; +close; +Vos = 2 ; //mV // input offset volt +Ios = 20*10^-3 ; // input offset current +R1 = 10 ; //kilo ohm // input resistance +R2 = 250 ; //kilo ohm // feedback resistance + +// the output voltage (Vo) of an op-amp circuit due to input offset voltage (Vos) is +Vo1 = ((R1+R2)/(R1)*Vos) ; +disp(' the output voltage (Vo) of an op-amp circuit due to input offset voltage (Vos) is = '+string(Vo1)+' mV '); + +// the output voltage (Vo) of an op-amp circuit due to input offset current (Ios) is +Vo2 = R2*Ios ; +disp(' the output voltage (Vo) of an op-amp circuit due to input offset current (Ios) is = '+string(Vo2)+' mV '); + +// the total offset voltage is +Vo = Vo1+Vo2 ; +disp(' the total offset voltage (Vo) of an op-amp circuit is = '+string(Vo)+' mV '); + -- cgit