summaryrefslogtreecommitdiff
path: root/995/CH5/EX5.3/Ex5_3.sce
blob: c344d41bec670d61ce905f4c8645ec16f493ce23 (plain)
1
2
3
4
5
6
7
8
9
//Ex:5.3
clc;
clear;
close;
I_c=30;//in mA
I_b=0.6;
I_e=I_c+I_b;
hfe=I_c/I_b;
printf("Emitter current = %f ohms    &    hfe = %d",I_e,hfe);