|
From: Andy D. <dou...@la...> - 2002-10-04 19:19:57
|
On Fri, 4 Oct 2002, Bruce Sherwood wrote:
> This vague possibility would seem to be ruled out by the fact that these
> programs run on other people's Mac OSX machines, with presumably the same
> math libraries, no?
Not quite, unless I've misunderstood the original poster's question.
Yes, Vpython runs fine on other people's Mac OS X machines, but I'm
unclear if this particular script runs fine on other people's Mac OS X
machines.
> > > Traceback (most recent call last):
> > > File "doublependulum.py", line 71, in ?
> > > atheta2 = -(A*atheta1+C*sin(theta1))/B
> > > ValueError: unexpected math error
What I'm imagining is that the user is simulating a (possibly damped,
driven) double pendulum that might have swung over many many times, so
that theta1 and/or theta2 might be very large compared to 2 pi. That's
the sort of thing I've seen eventually lead to odd problems elsewhere.
Perhaps if the original script were posted, others could test it.
--
Andy Dougherty dou...@la...
Dept. of Physics
Lafayette College, Easton PA 18042
|