← Questions
Simulate particles from a point source hitting a screen
0
I was asked this
No reports yet. Sign in to say where you were asked it.
A point source sits some distance in front of an infinitely tall vertical screen and fires particles toward it. Each particle leaves at a random angle drawn uniformly between -π/2 and π/2, so every particle reaches the screen. Model the setup in code, simulate many particles, and report where they land on the screen. Be ready to explain what the distribution of hit positions looks like and why.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Sign in to submit your code; every attempt is kept here.
Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding
