summaryrefslogtreecommitdiff
path: root/1979/CH8/EX8.15/Ex8_15.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1979/CH8/EX8.15/Ex8_15.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1979/CH8/EX8.15/Ex8_15.sce')
-rwxr-xr-x1979/CH8/EX8.15/Ex8_15.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/1979/CH8/EX8.15/Ex8_15.sce b/1979/CH8/EX8.15/Ex8_15.sce
new file mode 100755
index 000000000..a8027ea46
--- /dev/null
+++ b/1979/CH8/EX8.15/Ex8_15.sce
@@ -0,0 +1,22 @@
+//chapter-8 page 348 example 8.15
+//==============================================================================
+clc;
+clear;
+
+//For a reflex klystron
+n=2;//peak mode value
+V0=280;//beam voltage in V
+I0=0.022;//beam current in A
+Vs=30;//signal voltage in V
+J1=1.25;//bessel coefficient for n=2
+
+//CALCULATION
+Pdc=V0*I0;//The input power in watts
+Pac=((2*Pdc*J1)/((2*n*(%pi))-((%pi)/2)));//The output power in watts
+n=(Pac/Pdc)*100;//Efficiency in percentage
+
+//OUTPUT
+mprintf('\nThe input power is Pdc=%1.2f watts \nThe output power is Pac=%1.1f watts \nEfficiency is n=%2.2f percentage',Pdc,Pac,n);
+
+//=========================END OF PROGRAM===============================
+