Home > atphysics > LongitudinalDynamics > phis.m

phis

PURPOSE ^

phase = phis(U0MeV,VrfMV)

SYNOPSIS ^

function phase = phis(U0MeV,VrfMV)

DESCRIPTION ^

 phase = phis(U0MeV,VrfMV)

 this function returns the synchronous phase in radians
 input:
 U0MeV is energy loss per turn in MeV
 VrfMV is the RF voltage in MV

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function phase = phis(U0MeV,VrfMV)
0002 % phase = phis(U0MeV,VrfMV)
0003 %
0004 % this function returns the synchronous phase in radians
0005 % input:
0006 % U0MeV is energy loss per turn in MeV
0007 % VrfMV is the RF voltage in MV
0008 
0009 phase=pi - asin(U0MeV./VrfMV);
0010 
0011 end

Generated on Thu 24-Aug-2017 18:47:33 by m2html © 2005