Assign wave para meters:
Wave velocity:
For moving wave described by:
Trap this wave in a 1D box running from x = 0 to x = L
This reflects back to left at x = L forming:
this properly matches waves R1 & L1 at x = L:
And then wave L1 reflects reaches left end of box (at x=0), it reflects back to right:
properly matching waves L1 & R2 at x = 0:
And then wave R3 when it reaches right end of box (at x=L), this wave reflects back to left:
properly matching waves R2 & L2 at x = L:
And then wave L2 when it reaches right end of box (at x=0), this wave relfecs back to right:
properly matching waves L2 & R3 at x = 0:
So, looking at series, sum of waves (through 2N terms):
Check by putting consecutive waves, offset from one another, in single animation.
Make sure as descend (from wave to its reflection) that waves are indeed mirrored at boundary:
YES, consecutive waves stay matched at edges
Add initial wave + 24 reflections.