summaryrefslogtreecommitdiff
path: root/1757/CH5/EX5.3/EX5_3.sce
blob: 4f7c92ad1b3271f0b46b08731fcaef43bc52345c (plain)
1
2
3
4
5
6
7
8
9
10
11
//Example5.3 // find the input offset voltage of an op-amp circuit
clc;
clear; 
close;
Vo = 90.2 ; //mV  // output voltage
R1 = 2 ; //kilo ohm  // input resistence
R2 = 150 ; //kilo ohm  // feedback resistence

// the input offset voltage (Vos) of an op-amp circuit is defined as
Vos = ((R1)/(R1+R2)*Vo) ;
disp('the input offset voltage (Vos) of an op-amp circuit is = '+string(Vos)+' mV ');