summaryrefslogtreecommitdiff
path: root/1757/CH5/EX5.3/EX5_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1757/CH5/EX5.3/EX5_3.sce')
-rwxr-xr-x1757/CH5/EX5.3/EX5_3.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/1757/CH5/EX5.3/EX5_3.sce b/1757/CH5/EX5.3/EX5_3.sce
new file mode 100755
index 000000000..4f7c92ad1
--- /dev/null
+++ b/1757/CH5/EX5.3/EX5_3.sce
@@ -0,0 +1,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 ');