summaryrefslogtreecommitdiff
path: root/2459/CH3/EX3.1/Ex3_1.sce
blob: 222e66c720268680403768dafbc27eec5834cee3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//chapter3
//example3.1
//page41

Ib1=10 // mA
Eb1=100 // V
Ib2=20 // mA

// Ib is proportional to Eb^(3/2)
// so we can say Ib1/Ib2 = Eb1^1.5/Eb2^1.5
//thus we can write

log_Eb2=(2/3)*log(Eb1^1.5*Ib2/Ib1)
Eb2=exp(log_Eb2)
printf("required plate voltage = %.3f V",Eb2)