summaryrefslogtreecommitdiff
path: root/132/CH6/EX6.1/Example6_1.sce
blob: 44d26c48f55ace44bd5f6e6d3ee90f5044072f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//Example 6.1
//Program to Plot the Characteristics and 
//Determine Dynamic Plate Resistance
clear;
clc ;
close ;
//Given Circuit Data
V=[0 0.5 1 1.5 2]; //V
I=[0 1.6 4 6.7 9.8]; //mA
//Plotting
plot(V,I);
a= gca ();
xlabel ('Plate Voltage (in V)');
ylabel ('Plate Current (in mA)');
title ('STATIC CHARACTERISTIC CURVE OF THE DIODE');
//Calculation
//Values from Characteristic Plot
dVp=0.5; //V
dIp=2.7*10^(-3); //A
rp=dVp/dIp; //Dynamic Plate Resistance
//Displaying The Results in Command Window
printf("\n\t The Dynamic Plate Resistance is rp= %f Ohms .",rp);