From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1979/CH8/EX8.3/Ex8_3.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 1979/CH8/EX8.3/Ex8_3.sce (limited to '1979/CH8/EX8.3') diff --git a/1979/CH8/EX8.3/Ex8_3.sce b/1979/CH8/EX8.3/Ex8_3.sce new file mode 100755 index 000000000..c753d178e --- /dev/null +++ b/1979/CH8/EX8.3/Ex8_3.sce @@ -0,0 +1,22 @@ +//chapter-8 page 338 example 8.3 +//============================================================================== +clc; +clear; + +//For a reflex klystron +n=2;//peak mode value +V0=300;//beam voltage in V +I0=0.02;//beam current in A +Vs=40;//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.0f watts \nThe output power is Pac=%1.2f watts \nEfficiency is n=%2.1f percentage',Pdc,Pac,n); + +//=========================END OF PROGRAM=============================== + -- cgit