summaryrefslogtreecommitdiff
path: root/196/CH8/EX8.2/example_8_2.sce
blob: 18dde1ee1df84b994639ebbce4228e57e1c231e1 (plain)
1
2
3
4
5
6
7
8
9
10
//Chapter 8
//Example 8-2
//ProbOnDifferentialAmplifier 
//Page 220,221, Figure 8-5(b)
clear;clc;
//Given
a = 2/9 ; //Differential Gain
E1 = 10*10^-3; E2 = 5*10^-3; //Input Voltages 
Vout = (E1 - E2)*(1+(2/a));
printf ( "\n\n output voltage = %.4f V ", Vout )