The easiest solution to this problem is something like Mathematica or Matlab. Both cost money and both have student discounts. (There is also Octave, which is a Matlab clone. I don't know anything about it.)Another option is to solve your equations of motion numerically in C or FORTRAN (or whatever), save all coordinates to a file every N steps, and then make an animation using gnuplot. This is often not difficult to implement if your field is nice enough (e.g. you have a formula for each component) or if you need to solve a differential equation for which there is a simple numerical recipe (e.g. wave equation).If you are still working on this, tell me what sort of problem you're dealing with so that I could check if it overlaps with any of the code that I have.
one problem I'd love to see solved is why, about 30-50% of the time I'm waiting for a bus to the city center, I could be waiting for an average of 10 minutes (up to 20) and then TWO BUSES come - one right up the arse of the other, it baffles me
Quote from: piratePenguin on 11 May 2010, 21:51one problem I'd love to see solved is why, about 30-50% of the time I'm waiting for a bus to the city center, I could be waiting for an average of 10 minutes (up to 20) and then TWO BUSES come - one right up the arse of the other, it baffles mePsychology gets a bit involved. It depends on the personality of the bus driver, when the bus will leave.A lot of bus drivers in my town leave 5 minutes late, so they can justify driving fast with a bus through town.The rest actually leave 5 minutes earlier, to adjust for the traffic congestion.It's certainly an algorithm to take into account.
I have a simpler solution: trains.
I actually saw some recently that explained the two bus problem: http://blogs.discovermagazine.com/cosmicvariance/2010/03/04/buses-are-bosons-and-they-condensate/