Good day
I see no problem in doing this as you already seem to have VERY good idea what you need, and its simple and you can provide the equation. I can see no file attached but i remain sure this can be done.
Given that you have an existing application and are requiring a modification of it, you would have to provide me with the source file.
Hoping to hear from you, have a nice day.