summaryrefslogtreecommitdiff
path: root/1997/CH11/EX11.13/example13.sce
blob: ee1f39760ab5d60ce60bc8ded6730db6db34d23a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
//Chapter-11 example 13
//=============================================================================
clc;
clear;
//input data
PRF   =  1000;//pulse repetition frequency per second
PW    =  0.8*10^-6;//pulse width in sec
Pp    =  10*10^6;//Peak power in watts
Vo    =  3*10^8;//velocity of EM wave in m/s;

//Calculations
Dc    =  PW*PRF;//Duty Cycle
Pav   =  Pp*Dc;//average power in watts
Rmax  =  Vo/(2*PRF);


//Output

mprintf('Average power is %g KW\n Maximum Radar Range is %g Km',Pav/1000,Rmax/1000);

//=============end of the program==============================================