summaryrefslogtreecommitdiff
path: root/317/CH13/EX13.8/example8.sce
blob: 44e51d3e9f9a8d70fa031fcbb4110a9b954ef429 (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 Q point
// Electronic Principles
// By Albert Malvino , David Bates
// Seventh Edition
// The McGraw-Hill Companies
// Example 13-8, page 440

clear; clc; close;

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

// Calculations
// 3:1 voltage divider produces a gate voltage of 10 Volts
Vs=10;// voltage across source resistor in volts
Id=Vs/Rs;// drain current in amperes
Vd=Vdd-(Id*Rd);// drain voltage in volts
Vds=Vd-Vs;// drain-source voltage in volts
disp("Amperes",Id,"Drain current=")
disp("Volts",Vds,"Drain-source Voltage=")


// Result
// Q point is (15,5*10^-3)