summaryrefslogtreecommitdiff
path: root/2330/CH10/EX10.6/ex10_6.sce
blob: e1aec98fc10902163c60d2a5472c5019defcd2ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Example 10.6
format('v',6)
clc;
clear;
close;
// given data
V_CC= 30;// in V
PP= V_CC;// in V
R_L= 100;// in Ω
// The value of P_Lmax 
P_Lmax= PP^2/(8*R_L);// in W
disp(PP,"The value of PP in volts is : ")
disp(P_Lmax,"The value of P_Lmax in W is : ")