summaryrefslogtreecommitdiff
path: root/1997/CH11/EX11.50/example50.sce
diff options
context:
space:
mode:
Diffstat (limited to '1997/CH11/EX11.50/example50.sce')
-rwxr-xr-x1997/CH11/EX11.50/example50.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1997/CH11/EX11.50/example50.sce b/1997/CH11/EX11.50/example50.sce
new file mode 100755
index 000000000..8463aac93
--- /dev/null
+++ b/1997/CH11/EX11.50/example50.sce
@@ -0,0 +1,21 @@
+//Chapter-11 example 50
+//=============================================================================
+clc;
+clear;
+//Given data
+
+Vo = 3*10^8; // vel of EM wave m/s;
+PRT = 1.4*10^-3; // pulse repetitive time. in sec
+PW = 5 *10^-6; // Pulse width in sec
+Pt = 1000*10^3; //Peak power in watts
+
+//Calculations
+
+DC = PW/PRT // Duty cycle
+Pav = Pt*DC // avg. power in W
+
+//output
+
+mprintf('Duty cycle = %e\n Average power = %g W',DC,Pav );
+
+//==============================================================================