Little math problem :-/ (hopefully not big)

Blitz3D Forums/Blitz3D Programming/Little math problem :-/ (hopefully not big)

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This should be the solution to use the popular formulas used to calculate sideway force during a turn (F = m*v^2/r, where m is the mass, v is the speed, and r is the radius of the circle (way to calculate described below), and F is ofcourse the result of the calculation, the sideway accelleration (which the tires must support to prevent the car from skidding out)):



When thinking about the XY line, it's a quite rough calculation, but it shouldn't play an important role as the change of position doesn't become that big in 1/60 seconds. That SHOULD (unless my logic really fails) be the way to get the radius out of two positions, where the rectangles is a car (supposed to be at the purple dots), and the lines through them are the way they drive. The angle the two car directions create (D2) are ofcourse the delta rotation (the change of rotation) between two calculations (usually not that big as on this drawing).

If you got problems with the picture, replace _ with h, and paste this URL into the browser:
_ttp://chrml.thefreebizhost.com/hmmm.jpg

Or try again later (the server seems to go down sometimes).