Write a program that calculates the gains of CE, CB, CC
amplifier circuits in C programming language.
Requirements from the program are listed below.
The program should first ask the user to calculate the gain of
CE, CB or CC configurations.
In the second step, it should be asked which of the NPN or PNP
transistors will be used.
In the third step, the resistance values of the circuit, the
values of the voltage sources, and the transistor parameters (β
and
VA) must be requested from the user.
In the fourth step, the signal source resistor and the load
resistor should be requested.
In the last step, voltage gain and current gain should be
calculated and displayed on the screen using either pi or T
models.
The program should be written in accordance with the Single
Responsibility principle.
Write a program that calculates the gains of CE, CB, CC amplifier circuits in C programming language. Requirements from
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am