Sliding Sum Lab — you compute, then we draw

Task: for each position n, slide the blue sequence g across the green sequence f, multiply overlapping entries by yourself, add them up, and type the sum for result[n]. When you finish, plot all three on the same graph.

1) Explore alignment and compute the sum at position 0

3) Visualization — all on one graph

f (bars) g (bars) your result (polyline)