File:Stehende Welle.gif

Summary

Description en:Standing wave de:Stehende Welle
Source Own work
Author me
created with

en:GNU Octave

Source

% GNU Octave/Matlab
% mik81
% 
% Stehende Welle

steps = 1/80
speed = (1/steps)/5

timebase = (0.: steps : 3.);
wave = sin( 2. * pi * timebase);

for phi=steps:steps:1
  hinlaufend = sin (2. * pi * timebase - 2. * pi * phi);
  ruecklaufend = sin (2. * pi * timebase + 2. * pi * phi);
  sum = hinlaufend + ruecklaufend;

  axis([0, 3, -2.2, +2.2]);
  plot(timebase, hinlaufend, ";Hinlaufend;"
    , timebase, ruecklaufend, ";Ruecklaufend;"
    , timebase, sum, ";Resultat;"
    , [.5, .5], [-2.2, 2.2], ";Minimum Knoten;"
    , [.75, .75], [-2.2, 2.2], ";Maximum Knoten;");

  clear filename;
  filename = sprintf("./wave%05i.png", phi/steps);
  printf("%s", filename);
  printf("\n");

  print(filename, "-dpng", "-landscape");
  clearplot;
end

Licensing

w:en:Creative Commons
attribution
This file is licensed under the Creative Commons Attribution 3.0 Unported 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.
Category:CC-BY-3.0#Stehende%20Welle.gif
Category:Animations of standing waves Category:Images with Octave source code Category:Images with MATLAB source code Category:Animated GIF files
Category:Animated GIF files Category:Animations of standing waves Category:CC-BY-3.0 Category:Images with MATLAB source code Category:Images with Octave source code Category:PNG created with Gnuplot