summaryrefslogtreecommitdiff
path: root/3754/CH17/EX17.3/17_3.sce
blob: cb6a17beefa4cb61d6160598746492dbc699f727 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
clear//

//Variables

VD = 0.7                     //Voltage (in volts)
n = 0.75                     //Intrinsic stand-off ratio
VBB = 12                     //Base Voltage (in volts)

//Calculation

VP = n * VBB + VD            //Peak-point voltage (in volts)

//Result

printf("\n Peak - point voltage of the circuit is  %0.3f  V.",VP)