Re: Future = (Vpython + Glowscript) | Glowscript | ???

Bruce Sherwood <[email protected]> Sat, 9 Jun 2012 10:00:33 -0600
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAFDG03gyo_Zya2PwyKX_2ZvMsPq2oU6Xq5XSO_aOJaNJ1vq38w@mail.gmail.com>
Actually, in my experience with students using VPython in intro
physics, rate statements usually are necessary even for new
programmers, because VPython is so fast that simple animations
typically run too fast to be seen.

At least in intro physics, it's pretty common for physicists to
emphasize that all analyses should be done algebraically, with numbers
put in only at the end, and units are not involved in most of the
analysis. Typically it is only the final result for which the
physicist cares that correct units be given.

Bruce Sherwood

On Sat, Jun 9, 2012 at 9:37 AM, Kevin Karplus <[email protected]> wrote:
>
> I'm glad to see that Vpython has a future, and that you do have plans
> to make it work on 64-bit Macs.
>
> I would find requiring "rate" statements a bit annoying, but
> tolerable.  I wonder whether it would become a major problem for new
> programmers, though, as its necessity is not obvious.
>
> One thing I would like to see is a good integration of units into the
> computation.  I tell my students to keep units with their intermediate
> results, and I suspect that most real physics teachers do also, so it
> is a bit annoying that Vpython encourages (sometimes even requires)
> unitless numbers.  I've been using the Unum package, which works
> fairly well but is rather slow (I also had to add a sqrt function for
> it).
>
> See the simulation (without animation---just using visual for optional
> graphs) in
> http://gasstationwithoutpumps.wordpress.com/2012/06/04/soda-bottle-rocket-simulation-take-2
> for an example of using Unum
>
> The visual package does not play nicely with Unum, since all the
> animation and graphing has to be unitless.  I think that a little more
> care in "duck typing" could have made the routines work just fine with
> numbers that have units.
>
>
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Visualpython-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/visualpython-users