Perfectly centered break of a perfectly aligned pool ball rack
mathoverflow.net
mathoverflow.net
I was disappointed to find that the associated notebook (http://math.bard.edu/belk/code/BilliardsHertz.nb) doesn't work correctly in either Mathematica 9 or 10 -- I think the author used 8.
It seems like NDSolve falls down:
NDSolve::smpf: Failure to project onto the discontinuity surface when computing Filippov continuation at time 0.`. >>
and the solution shows the cue bool passing through all the others..
I'm still a happy 8 user, myself. Is there much reason to upgrade?
It'd probably be good for them to pay more attention to backwards compatibility...
You don't mean that the GP (taliesinb) is confused, do you?. He works for Wolfram Research, developing Mathematica.
The features I'm most excited about in 10 (disclosure: my team is working on some of these):
[2] String, XML, file templating
[3] Hands-free machine learning
[4] Entity and EntityValue: semantic "hooks" to represent real world entities
[5] Dataset, a general data modelling and query framework.
Also, DateObject, TimeObject, interaction with external processes, multiple undo, a large number of updated data sources, the ExternalService "meta-api", device connections, time series stuff, GeoGraphics, and a long list of no less worthy features.
[1] http://reference.wolfram.com/language/guide/Associations.htm...
[2] http://reference.wolfram.com/language/guide/WorkingWithTempl...
[3] http://reference.wolfram.com/language/guide/MachineLearning....
Any chance you'll be including the templating features in the RPi version?
Seriously: I think they will make breaking changes if the existing code turns out to be mathematically incorrect. That may or may not have been the case here.
Apparently Mathematica added some new features in version 9 that are intended to better handle differential equations with discontinuities (see http://reference.wolfram.com/mathematica/tutorial/NDSolveWhe...). Apparently this is getting tripped up at the boundary between the two behaviors.
One simple thing that might work is to change the force law to either
force[disp1_, disp2_, dir_] := -k Abs[(disp1 - disp2).dir ]^(3/2) dir* If[(disp1 - disp2).dir > 0, 1, 0]
or force[disp1_, disp2_, dir_] := -k Abs[(disp1 - disp2).dir ]^(3/2) dir* Piecewise[{{1, (disp1 - disp2).dir > 0}}, 0]
If these don't fix it, then you would need to play around with the options for NDSolve.See http://archive.ncsa.illinois.edu/Classes/MATH198/townsend/in... for including rotation.
Would this also mean that the speed of the balls has to be taken into account? The differing effects of friction on the surface would surely alter as the balls move & spin slower?
We also need to know the precise latitude of the pool table!
Cool modelling in any case!
The author is simulating the collision as an event which happens gradually over an (admittedly short) period of time, using a differential equation, instead of something that happens all at once. That's why he has to talk about the elasticity model he's using, F ∝ (2-d)^1.5, and how the results vary when you change it.
What about if the table is frictionless?
can you give an example?
But where will it go? In an elastic collision, a negligible amount of energy gets converted to heat (through inelastic deformation), and only a small amount will be converted to sound.
The only other place the energy can go is kinetic energy distributed between the balls. This means that there's no way to cause the balls to collide such that they're stationary afterwards.
Hypothetically, you might be able to completely convert the linear motion into rotational motion and have the balls spinning on the spot afterwards... but that's about it.
If the ball strikes the rail on an angle, the rails twist to absorb the impact and will recoil with a force that isn't just a simple reflection, but that also has a force vector tangent to the ball and back towards the origin. This directly affects the spin of the ball when it leaves the rail.
Combined, a bounce off the rail is a very complicated collision. The net result of which has balls that strike the rail at lower velocities closely matching a reflection, but if struck with a higher velocity, the reflection straightens out into a bounce more perpendicular to the rail.
In short, the rails are highly dependent upon the velocities at impact, and perhaps more so than at break, are affected by rotational momentum.
The burn marks are caused by the downward force due to an inclined cue. Similar marks occur when performing a legal jump. This is why many tournaments provide a cloth scrap for breaking.
Furthermore, the cue ball may hop to the rack and impact the head ball above its equator, causing the cue ball to jump in the air, reducing the likelihood of being kicked into a pocket. Top spin or forward roll is not required for this.
Source: I play pool semi-professionally.
Abou the burn marks, see here http://www.pooldawg.com/article/pooldawg-library/table-maint...
http://www.cuesight.com/types-of-pool-table-felt.html
Yeah, I hate it when the ball pops up, but my opponent looks cool catching it, heh. I also play pool. Best game for lounging I feel.
Actually, for anyone whose work involves modeling physics and collisions in general.
The fact that it describes a phenomenon with which a great many people are familiar and at least casually interested is only one aspect of this. And there's a long history of useful discoveries and advances coming from gaming and gambling (going back to Blaise Pascal).
[1] http://www.physics.ohio-state.edu/~kilcup/262/feynman.html
The diagrams and the whole business that I got the Nobel
Prize for came from that piddling around with the wobbling
plate. -- Richard FeynmanFirst of all, there's the fact that I did this on a Friday evening, after I came home from work. (I spent about six hours on it, and maybe another hour or two on Saturday morning). There are probably more productive uses of my time, but it was fun, and the most likely alternative was probably something like "read reddit" as opposed to "do something productive". It's nice to have leisure-time activities that are at least marginally related to my career.
Speaking of which, here's a few reasons that this was helpful for me:
1. I got a little better at programming in Mathematica. I use Mathematica a lot for both my teaching and research, so it always helps to practice.
2. I learned about a whole field of physics called contact mechanics, which I otherwise wouldn't have been aware of. It's part of my job as a math professor to know about random things like this.
3. I got some experience with modeling in applied mechanics problems. This may be helpful for me in the future -- as a professor at Bard, I regularly have to supervise senior math majors who want to work on research-level problems. The next time a senior who's interested in applied mechanics wants a research problem, I'll have one available.
That's how it's helpful for me, but I suppose it's less clear that this was helpful for the rest of the world. I guess, at the very least, it certainly seems to have entertained a bunch of people, and maybe someone learned something about modeling or differential equations or physics.
By the way, I'd have loved an example like this a year ago, when I had a physics subject where elastic and inelastic collisions were studied. I'm pretty sure I'm not the only one.
First, I am not saying that this is strictly a waste of time. In fact, I do love learning from things like this.
Second, I am not saying we must always be working instead of stopping to try something different. I personally find switching focus very important and I think it's a great tool for a great many people. I find that when people learn something slightly outside of their field they suddenly are hit with a lot of new ideas they did not have before, so learning about random solutions to random problems can be a great way to spend your time.
What I was trying to ask (not assert) was how answers like this come to be. I am somewhat astonished that I can ask pretty much any question on any given subject and a subject matter expert somewhere in the world will then proceed to spend hours putting together a detailed essay or demonstration (or both) of the concepts involved. What I wanted to know is who are these experts, why are they giving their expertise away for Internet Points (tm) and is this detracting from their actual work.
My other question is whether it's possible that at some point the number of soft, open-ended questions on SO will reach a critical mass where most participants will flock to those rather than the specific and hard questions and detailed expert answers that SO became famous for. Clearly we are not there right now, but is it possible and is it going to happen?
While I don't know about this exact post, for most academics, such theoretical exercises are their work. 'Projects' like this are nice and small and contained. They also give you the opportunity to get 'real' questions from people who aren't as close to the material as you are, almost like 'customers', so if you use a question like this in a lecture, it's almost sure to capture the interest of students better than other textbook examples. While I don't teach many courses, I've used examples derived from hybrid 'real world' / theoretical questions as examples to explain our products.
That said, I've surely spend time on questions that will never pay themselves back in such a way. You never know up front which ones will, so it's like playing the VC game - you 'invest' in 10 questions, with the knowledge that 7 will be duds, 2 will break even and the last one will (hopefully) be a home run.