summaryrefslogtreecommitdiff
path: root/2702/CH3/EX3.8/Ex_3_8.sce
blob: c9bf1dd35abe1b0145df0fa6d2e771f418823403 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Exa 3.8
clc;
clear;
close;
// Given data 
V_BE= 0.7;// in V
V_CE= 3;// in V
I_C= 1;// in mA
I_C=I_C*10^-3;// in A
bita= 100;
I_B= I_C/bita;// in A
// V_CE= V_BE+V_CB and V_CB= I_B*R_B
R_B= (V_CE-V_BE)/I_B;// in Ω
disp(R_B*10^-3,"The value of R_B in kΩ is : ")