diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1997/CH11/EX11.61/example61.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1997/CH11/EX11.61/example61.sce')
-rwxr-xr-x | 1997/CH11/EX11.61/example61.sce | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/1997/CH11/EX11.61/example61.sce b/1997/CH11/EX11.61/example61.sce new file mode 100755 index 000000000..6d864b0d8 --- /dev/null +++ b/1997/CH11/EX11.61/example61.sce @@ -0,0 +1,31 @@ +//Chapter-11 example 60
+//=============================================================================
+clc;
+clear;
+//Given data
+PRF1 = 10*10^3; //pulse repetitive freq.1
+PRF2 = 20*10^3; //pulse repetitive freq.2
+Pav = 1000; // average tx. power
+Pt = 10*10^3; // peak power
+
+//Calculations
+PRT1 = 1/PRF1; // pulse repetitive interval in sec
+PRT2 = 1/PRF2; // pulse repetitive interval in sec
+DC = Pav/Pt; // duty cycle
+PW1 = DC*PRT1 // pulse width for freq1
+PW2 = DC*PRT2 // pulse width for freq2
+E1 = Pt*PW1; // energy of first pulse
+E2 = Pt*PW2; // energy of second pulse
+
+//output
+mprintf('PW1 = %3.2f ms\n PW2 = %3.3f ms\n Pulse Energy for PRF = 10KHz is %3.1f Joules\n Pulse Energy for PRF = 20KHz is %3.2f Joules\n',PW1*1000,PW2*1000,E1,E2 );
+//==============================================================================
+
+
+
+
+
+
+
+
+
|