I have utilised your algorithm in a personal project and now I need to write a documentation for it. One problem I am having is explaining to someone what the actual mass of the ball is measured in... I noticed you give the default value of m1=r1*r1; So the square of the ray of the circle but technically it can be anything.
My question is how much of m1 is a gram.
1 gram = m1
m1 = ?
Thank you in hopes that you can answer my question and once again. I really appreciate your work. It has helped immensely.