summaryrefslogtreecommitdiff
path: root/2498/CH6/EX6.1/ex6_1.sce
blob: 650fce1df521c991b9eeed2029617c059affb3d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// Exa 6.1
clc;
clear;
close;
format('v',6)
// Given data
CMRR = 10^5;
Ad = 10^5;
// CMRR = Ad/A_CM;
// The common mode gain of the op-amp 
A_CM = Ad/CMRR;
disp(A_CM,"The common mode gain of the op-amp is");