Ah, okay, that's what I was afraid of with motors. I thought that might've been the case, but I wanted to confirm that. Easiest thing it sounds like then is to get SketchyPhysics to output velocity data into a text file, and then probably load it into Excel later and have it do some calculations. At least Excel I've been using for longer, so I know a bit better.
For the record, I'm trying to help design a project to be used with middle school students. We don't expect them to be able to script or come up with their own formulas, so a lot of that is what I'm working on now.
One more thing though, what does the output of getVelocity use for its "time" component? Is that movement v. physics iterations, or visible frames, or something else?
Edit: (Because I have one more question now.)
On an aside, is there a particular method for calling the (integer) frame number to use as part of a script? The articles about scripting here seemed to suggest calling it directly as if it was a variable, but I seem to be having problems doing that.