summaryrefslogtreecommitdiff
path: root/2288/CH5/EX5.9.2/ex5_9_2.sce
blob: 39816c7c38e2575ca9af285e1283145a6566721a (plain)
1
2
3
4
5
6
7
8
9
10
// Exa 5.9.2
clc;
clear;
close;
// Given data
alpha = 0.9;
I_E = 1;// mA
I_C = alpha * I_E;// in mA
I_B = I_E - I_C;// in mA
disp(I_B,"The value of base current in mA is");