summaryrefslogtreecommitdiff
path: root/1106/CH3/EX3.1/ex3_1.sce
blob: 18bd2e7a186b9ed7b585303240491ec6c0320819 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Example 3.1, page no-107
clear
clc

Vp=15
Vm=-15
R5=40*10^3
Vbe11=0.7
Vbe12=Vbe11

Iref= (Vp-Vbe12-Vbe11-Vm)/R5

Iref=Iref*10^3
printf("Iref= %.3f mA", Iref)