"The Physics Problem"

yes I understand the explanation on that page was Really precise.
the only thing now holding me back is how can I get the Radius 'I was banking Upon accelerometer to get the tilt & its corresponding Radius by forming a look-up table.