summaryrefslogtreecommitdiff
path: root/2276/CH11/EX11.4/chapter11_ex4.sce
blob: 8617d9ac3be6fc26052608d6df5492e1614fa157 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
clc
clear

//input
vht=100;//higher threshold voltage in volts
rl1=5;//resistance of load in kiloohms
rl2=10;//load resistance in kiloohms

//calculations
//for rl1
//when va=0
ia1=vht/rl1;//anode current in milliamperes
//when va=100
ia2=0;//since va=vht
//for rl2
//when va=0
ia3=vht/rl2;//anode current in milliamperes
//when va=100
ia4=0;//since va=vht
//two load lines are drawn on VI graph which coincides the aanode characteristic curve at four points
//using the data given
//point 1
vg1=0;//grid voltage in volts
va1=71;//anode voltage in volts
i1=5.9;//anode current in milliamperes
//point 2
vg2=-2;//grid voltage in volts
va2=79;//anode voltage in volts
i2=4.3;//anode current in milliamperes
//point 3
vg3=0;//grid voltage in volts
va3=57;//anode voltage in volts
i3=4.3;//anode current in amperes
//point 4
vg4=-2;//grid voltage in volts
va4=68;//anode voltage in volts
i4=3.2;//anode current in amperes

//output
mprintf('for a load of 5kiloohm,the operating points are \n vg=%3.0fV: va=%3.0fV ia=%3.1fmA \n vg=%3.0fV: va=%3.0fV ia=%3.1fmA \n for a load of 10 kiloohms,the operating points are \n vg=%3.0fV: va=%3.0fV ia=%3.1fmA \n vg=%3.0fV: va=%3.0fV ia=%3.1fmA',vg1,va1,i1,vg2,va2,i2,vg3,va3,i3,vg4,va4,i4)