My numbers were quite similar to those.
I did do some rounding, which is why I italicized "about".
My main calculation was based upon the middle of the ball hitting the front of the rim. In your example, it looks like you used the two edges of the ball.
I'm going to save your graphic rather than draw my own.