Hello everybody.
I am wondering if something is possible to do in Confluence.
We are a company delivering v belts, and often we have to do calculations for how long belt our customer needs
The equation is like this (sorry for posting pic, but not sure how to write this):

L: Belt length in mm
C: Center distance in mm
Big pulley diameter in mm
d: Small pulley diameter in mm
What I want to do is this: If we know the center distance and center distance we can calculate the length we need for the belt.
The best solution for us is if we in a form or something can punch in the information (C, D,d), push enter and then find the needed length (L).
Is this possible to do? If yes, how can I write this equation?
Thank you very much.