BJT Emitter Follower Amplifier
A BJT Emitter Follower Amplifier is a simple amplifier circuit with two resistors and a single Bipolar Junction Transistor. Its schematic, with the resistors labeled, is shown below.
This program should calculate the relevant DC and AC parameters of the circuit according to the formulas shown below.
One function which has general use is the parallel resistor function. This function takes two values (R1 and R2) and returns a value (RP = R1*R2/(R1+R2)). I will indicate this in the formulas with the notation Parallel(R1,R2). You may implement this as part of the formula or as a Basic function, as you wish.
DC Values |   |
IB (The base current) = | (VCC-0.7)/(RB +(B+1)RE) |
IC (The collector current) = | B*IB |
IE (The emitter current) = | (B+1)IB |
VB (The base voltage) = | VCC - IB*RB |
VC (The collector voltage) = | VCC |
VE (The emitter voltage) = | IE*RE |
VCE = | VC-VE |
AC Values |   |
re (The dynamic resistance = | 0.026/IE |
ZB = | B*re + (B+1)RE |
Av (The voltage gain) = | RE/(RE + re)) |
Ai (The current gain) = | -Av*Zi/RE |
Zi (The input impedance) = | Parallel(ZB,RB) |
Zo (The output impedance) = | Parallel(re,RE) |