summaryrefslogtreecommitdiff
path: root/196/CH8/EX8.8/example_8_8.sce
blob: cda23f002ecadf04d2824cd0e340fd6757ba5ea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//Chapter 8
//Example 8-8
//ProbOnVtoIConverter 
//Page 228, Figure 8-10
clear;clc;
Rs = 1*10^3 ; E1 = 100*10^-3 ;
E2 = 0 ; Rl = 5*10^3 ;
Gain = 10 ;
Il = 10*((E1-E2)/Rs);
Vr = Il * Rs ;
Vref = Il * Rl ;
V9 = Vref + Gain*(E1 - E2);
printf ( "\n\n Current across Load Resistor = %.4f A ", Il )
printf ( "\n\n Voltage across R  = %.4f V ", Vr)
printf ( "\n\n Reference Voltage  = %.4f V ", Vref )
printf ( "\n\n Voltage at terminal 9  = %.4f V ", V9 )