Hands On Accelerator Physics Using MATLAB®, 1e Vol
Hands On Accelerator Physics Using MATLAB®, 1e Vol
Examen
Hands On Accelerator Physics Using MATLAB® 1st Edition By Volker Ziemann (Solution Manual)
1 vue 0 achat
Cours
Hands On Accelerator Physics Using MATLAB®, 1e Vol
Établissement
Hands On Accelerator Physics Using MATLAB®, 1e Vol
Hands On Accelerator Physics Using MATLAB®, 1e Volker Ziemann (Solution Manual)
Hands On Accelerator Physics Using MATLAB®, 1e Volker Ziemann (Solution Manual)
, 1 Introduction
The material com-prises of all MATLAB code and the online appendices from the
book. Note that Appendix B.5 contains discussions of the code examples. Since
the solutions, dis-cussed in this manual, are based on the code examples from the
book, it is strongly recommended to download the additional material, which is
freely available from the web site mentioned above.
2 For Chapter 2
For the design of the beam lines in the first few exercises, it is convenient to encap-
sulate most of the script layout.m in a separate function, such that it can be used
repeatedly without excessive copying.
% layout_function.m
function vvpos=layout_function(beamline)
hold on
nlines=size(beamline,1); % number of lines
nele=sum(beamline(:,2))+1; % number of elements
vvpos=zeros(3,nele); % element positions
f=fopen(’layout.scad’,’w’); % open output file for 3D view
vv=[0;0;0]; % x,y,z or origin
ww=eye(3); % orientation of tripod
ic=1; % element counter
for line=1:nlines % loop over input elements
for seg=1:beamline(line,2) % loop over repeat-count
v0=vv; w0=ww; % remember previous point
ic=ic+1;
switch beamline(line,1)
case {1,2,5,7} % drift, quadrupole, solenoid
dv=[0;0;beamline(line,3)];
dw=eye(3);
case 4 % sector dipole
phi=beamline(line,4)*pi/180; % convert to radians
if abs(phi)>1e-7
rho=beamline(line,3)/phi; % bending radius
dv=[rho*(cos(phi)-1);0.0;rho*sin(phi)]; % sagitta
dw=wmake(0,-phi,0);
dw2=wmake(0,-phi/2,0); % for 3D renderer only
else
dv=[0;0;beamline(line,3)];
dw=eye(3);
end
4
Les avantages d'acheter des résumés chez Stuvia:
Qualité garantie par les avis des clients
Les clients de Stuvia ont évalués plus de 700 000 résumés. C'est comme ça que vous savez que vous achetez les meilleurs documents.
L’achat facile et rapide
Vous pouvez payer rapidement avec iDeal, carte de crédit ou Stuvia-crédit pour les résumés. Il n'y a pas d'adhésion nécessaire.
Focus sur l’essentiel
Vos camarades écrivent eux-mêmes les notes d’étude, c’est pourquoi les documents sont toujours fiables et à jour. Cela garantit que vous arrivez rapidement au coeur du matériel.
Foire aux questions
Qu'est-ce que j'obtiens en achetant ce document ?
Vous obtenez un PDF, disponible immédiatement après votre achat. Le document acheté est accessible à tout moment, n'importe où et indéfiniment via votre profil.
Garantie de remboursement : comment ça marche ?
Notre garantie de satisfaction garantit que vous trouverez toujours un document d'étude qui vous convient. Vous remplissez un formulaire et notre équipe du service client s'occupe du reste.
Auprès de qui est-ce que j'achète ce résumé ?
Stuvia est une place de marché. Alors, vous n'achetez donc pas ce document chez nous, mais auprès du vendeur tutorsection. Stuvia facilite les paiements au vendeur.
Est-ce que j'aurai un abonnement?
Non, vous n'achetez ce résumé que pour €11,51. Vous n'êtes lié à rien après votre achat.