summaryrefslogtreecommitdiff
path: root/1409/CH2/EX2.22/2_22.sce
blob: 8c823ecbf5fa6cc79ba1f75c592ca30031972d3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
clc;
//Page no:2-31
//Example-2.22
//There are two antennas, therefore power delivered by each antenna is Pt=I^2*R
//Pt'=I^2'*R and Pt'=Pt/2
//I^2*R/2=I^2'*R
//I^2'=I^2/2=2
//I'=sqrt(2)A
//Let I' is denoted by I1
//Total current required for two antennas is given as
I1=sqrt(2);
Itotal=I1*2;
Itot=2;
u=0.6;
//Itot=Ic*sqrt(1+(u^2/2))
Ic=Itot/sqrt(1+(u^2/2));
disp(Ic,'Ic=');
//Keeping Ic constant we calculate modulation index to get Itotal=2*sqrt(2)
u1=sqrt([(Itotal/Ic)^2-1]*2);
disp(u1,'u=');