What is the actual formula for calculating the takeoff V speeds of an aircraft with any configuration? Specifically, I mean V1, Vr and V2
I know there are many factors, but what are they specifically and what operations are used on them in an overall formula?