blob: 2c1918c5e766cf06e850cc79654ded418a06d30b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//Example 7.14
//Program to Calculate
//(a)Ic
//(b)Vce
clear;
clc ;
close ;
//Given Circuit Data
Vcc=12; //V
Vee=15; //V
Rc=5*10^3; //Ohms
Re=10*10^3; //Ohms
Rb=10*10^3; //Ohms
Beeta=100;
//Calculation
Ie=Vee/Re;
Ic=Ie;
Vce=Vcc-Ic*Rc;
//Displaying The Results in Command Window
printf("The Parameters are :");
printf("\n\t Ic = %f mA .",Ic/10^(-3));
printf("\n\t Vce = %f V .",Vce);
|