Hey all.
I've just been working on making an abstraction for the inverse square law to control the volume of an audio source based on distance. The maths seems okay.
https://www.engineeringtoolbox.com/inverse-square-law-d_890.html
The mystery I can't figure out is that when the distance between distance 1 and distance 2 is 0, there's a discrepancy in volume, which should not be there (see screenshot).
Edit: I said 'should be there' when I meant 'should not'!
I'm also attaching the patches. I'm a bit perplexed, but it could be something very simple that I'm not accounting for!