From: Bruce S. <bas...@un...> - 2002-10-04 19:57:15
|
doublependulum.py is part of the standard VPython demo suite. All the demos work on other OSX machines. Bruce Sherwood ----- Original Message ----- From: "Andy Dougherty" <dou...@la...> To: "Bruce Sherwood" <bas...@un...> Cc: "Andy Dougherty" <dou...@ma...>; <cb...@sw...>; <vis...@li...> Sent: Friday, October 04, 2002 3:20 PM Subject: Re: [Visualpython-users] Errors running Vpython on OSX > 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 > > |