Hello! My project group and I have been working on a editing a mathematica code to model diffusion. We've got most of it down however, ln21 of the code produces a histogram with a dynamic red line dependent on variable "t" to model the variation in normal distribution with time. The trouble that we ran into here is that only the red line is dynamic while the histogram bars stay static. We would like to somehow get both the histogram and the line to move simultaneously depending on t. I've attached the notebook below showing all the progress we've made so far. It would be great if someone could point out what we should do next to in order to make the manipulate command work for both the histogram and the line.
Attachments: