File:2SlitInterference.svg

Uploaded by And1mu
Upload date 2016-03-15T08:11:35Z
MIME type image/svg+xml
Dimensions 2843 × 1780 px
File size 173.6 KB

Summary

Description
English: Illustration of double slit interference
Deutsch: Illustration Doppelspalt Interferenz
Date
Source Own work
Author And1mu

Source Code

created with LaTeX and PGF/TikZ
\documentclass[crop,border=3pt,tikz,convert={outext=.svg,command=\unexpanded{pdf2svg \infile\space\outfile}},multi=false]{standalone}
\usetikzlibrary{math}
\usetikzlibrary{calc}
\pgfdeclarelayer{background}
\pgfdeclarelayer{foreground}
\pgfsetlayers{background,main,foreground}
\makeatletter

\def\lines{2}
\def\omegat{10}
\def\PhaseDiff{10}

\begin{document}
  \begin{tikzpicture}[>=latex]
    \foreach \x in {0,...,7}{
      \foreach \y in {0,...,4}{
        \begin{scope}[shift={(10*\x,-10*\y)}]
          \tikzmath{\D=\PhaseDiff*(\x+8*\y);}
          \draw[gray,->] (0,-4) -- (0,4);
          \draw[gray,->] (-4,0) -- (4,0);
          \coordinate (A) at (0,0);
          \tikzmath{\Amp=5/\lines;}
          \coordinate (B) at (\omegat:\Amp);
          \foreach \a in {1,...,\lines}{
            \draw[ultra thick,->,blue] (A) -- (B);
            \coordinate (A) at (B);
            \coordinate (F) at (B);
            \coordinate (B) at ($ (B)+(\a*\D+\omegat:\Amp) $);
          }
          \draw[ultra thick,red,->] (0,0) -- (F);
          %\node(nol)[anchor=south] at (50:5) {Number of lines: \lines};
          \node()[anchor=north east] at (5,5){\LARGE $\delta=\D^\circ$};
          \begin{pgfonlayer}{background}
            \draw[gray] (-5,-5) rectangle (5,5);
            \path[fill=red!30] let \p1=($(F)-(0,0)$) in (0,0) circle ({veclen(\x1,\y1)});
          \end{pgfonlayer}
        \end{scope}
      }
    }
  \end{tikzpicture}
\end{document}

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

depicts

15 March 2016

image/svg+xml

b31273a82a5d7bf2237b335f30235704da04a4a3

177,778 byte

1,780 pixel

2,843 pixel

Category:CC-BY-SA-4.0 Category:Double-slit experiments Category:Interference patterns Category:Self-published work