summaryrefslogtreecommitdiff
path: root/199/CH2/EX2.1.b/Example_2_1_b.sce
blob: bd7097d03285d1239aee9b03a99d7493e27b3c7e (plain)
1
2
3
4
5
6
7
8
9
10
//Chapter2
//Page.No-45, Figure.No-2.9
//EXAMPLE_2_1_b
//Output voltage for open-loop differential amplifier
//Given:
clear;clc;
vin1=10*10^-3;vin2=20*10^-3;  // Both input voltages are in volts
A=200000; // Voltage gain
vo=A*(vin1-vin2); // Output voltage in volts
printf("\n Output voltage is vo = %.f V rms \n",vo) // Result