summaryrefslogtreecommitdiff
path: root/317/CH13/EX13.10/example10.sce
blob: 4a51f58d5d2d4cf13cb0da76e468d2265a7994d3 (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
// find drain current,voltage between drain and ground 
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 13-10, page 443

clear; clc; close;

// Given data
Vdd=15;// in volts 
Rd=1*10^3;// drain resistance in ohms
Rs=3*10^3;// source resistance in ohms

// Calculations
// 15 Volts occur across source resistor
Vs=15;// voltage across source resistor in volts
Id=Vs/Rs;// drain current in amperes
Vd=Vdd-(Id*Rd);// drain voltage in volts
disp("Amperes",Id,"Drain current=")
disp("Volts",Vd,"Drain Voltage=")


// Result
// Drain current is 5 mAmperes
// Voltage between drain and ground is 10 Volts