summaryrefslogtreecommitdiff
path: root/2276/CH11/EX11.3/chapter11_ex3.sce
blob: 7d1dc77fa883d1b98443f95e9007d88b020491fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
clc
clear

//input
ia=0.002;//anode current in amperes
rl=5000;//resistance in ohms
vht=100;//anode voltage in volts

//calculations
va=vht-(ia*rl);//next anode voltage in volts to plot the characteistic curve

//output
mprintf('the next required anode voltage for plotting characteristic curve is %3.0fV',va)