Math ideas for this story

I’ve got an idea, but it’s calculus and even the simple way involves knowledge of derivatives. I can still tell you about it though if you want to try to incorporate it.