summaryrefslogtreecommitdiff
path: root/1997/CH11/EX11.5/example5.sce
diff options
context:
space:
mode:
Diffstat (limited to '1997/CH11/EX11.5/example5.sce')
-rwxr-xr-x1997/CH11/EX11.5/example5.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1997/CH11/EX11.5/example5.sce b/1997/CH11/EX11.5/example5.sce
new file mode 100755
index 000000000..1e8d97971
--- /dev/null
+++ b/1997/CH11/EX11.5/example5.sce
@@ -0,0 +1,18 @@
+//Chapter-11 example 5
+//=============================================================================
+clc;
+clear;
+PW = 2*10^-6//pulse width in sec
+PRF = 1000//pulse repetitive frequency
+Pp = 1*10^6;//peak power in watts
+
+//Calculations
+Dc = PW*PRF;//duty cycle
+AvgTp = Pp*Dc;//average transmitted power in watts
+
+//Output
+mprintf('Average Transmitted power is %g KW',AvgTp/1000);
+
+//==========end of program=====================================================
+
+