summaryrefslogtreecommitdiff
path: root/3515/CH3/EX3.30/Ex3_30.sce
blob: faaedacd0d0175e36d90ca8d0ab56b39e838f82a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Exa 3.30
format('v',7);
clc;
clear;
close;
// Given data
V_CC=5;// in V
V_T= 0.025;// in V
R_C=7.5*10^3;//in Ω
I_C= 0.5;// in mA
I_C= I_C*10^-3;// in A
I_E=I_C;// (approx) in A
V_C= V_CC-I_C*R_C;// in V
disp(V_C,"dc voltage at the collector in volt is : ")
gm= I_C/V_T;// in A/V
disp(gm*10^3,"The value of gm in mA/V is : ")
// v_be= -v_i
// v_c= -gm*v_be*R_C
vcbyvi= gm*R_C;// in V/V
disp(vcbyvi,"The value of vc/vi in V/V is : ")