summaryrefslogtreecommitdiff
path: root/1979/CH8/EX8.14/Ex8_14.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.14/Ex8_14.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.14/Ex8_14.sce')
-rwxr-xr-x1979/CH8/EX8.14/Ex8_14.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1979/CH8/EX8.14/Ex8_14.sce b/1979/CH8/EX8.14/Ex8_14.sce
new file mode 100755
index 000000000..affc75d02
--- /dev/null
+++ b/1979/CH8/EX8.14/Ex8_14.sce
@@ -0,0 +1,21 @@
+//chapter-8 page 347 example 8.14
+//==============================================================================
+clc;
+clear;
+
+//For aa X-band cylindrical magnetron
+a=0.04;//inner radius in m
+b=0.08;//outer radius in m
+B=0.01;//magnetic flux density in Wb/sqm
+x=1.759*10^11;//Value of e/m in C/kg
+V=30000;//beam voltage in V
+
+//CALCULATION
+w=(x*B)/10^9;//Cyclotron angular frequency in 10^9 rad/sec
+VHC=((x/8)*(B^2)*(b^2)*(1-(a/b)^2)^2)/1000;//Hull cut-off voltage in kV
+Bc=((sqrt(8*(V/x)))/(b*(1-(a/b)^2)))*1000;//Cut-off magnetic flux density in mWb/sqm
+
+//OUTPUT
+mprintf('\nCyclotron angular frequency is w=%1.3f *10^9 rad/sec \nHull cut-off voltage is VHC=%1.4f kV \nCut-off magnetic flux density is Bc=%2.3f mWb/sqm',w,VHC,Bc);
+
+//=========================END OF PROGRAM===============================