if you didn't already have a master's in mechanical engineering, i'd be concerned this was your homework problem.
LOL, bmtran! Just trying to have a little fun with the format. Indeed, it has been so long since I solved this kind of problem that I can only hope I didn't make a mistake that would show up in the test-suite!
I assuming that you're neglecting any rotation caused by grazing collisions.
@Tom, yes that is true. There is no friction.
The tip is coefficient of restitution (COR); and imagining that B1 is a pendulum may help.
Well done, sir!
Longest Divisor Run
Replace multiples of 5 with NaN
Center of mass
Find the repeating decimal pattern!
Spiraling out of control....
What are the odds?
Return the Fibonacci Sequence
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office