Preparing content-rich learning environments with VPython and Excel, controlled by Visual Basic for Applications
2007; IOP Publishing; Volume: 43; Issue: 1 Linguagem: Inglês
10.1088/0031-9120/43/01/010
ISSN1361-6552
Autores Tópico(s)Innovations in Educational Methods
ResumoA simple interface between VPython and Microsoft (MS) Office products such as Word and Excel, controlled by Visual Basic for Applications, is described. The interface allows the preparation of content-rich, interactive learning environments by taking advantage of the three-dimensional (3D) visualization capabilities of VPython and the GUI capabilities of MS Office. MS Office provides the user interface for data input. The data are stored in a text file, which is read by VPython and used in 3D graphical simulations. Use of the interface is illustrated by working through an example of the motion of a charged particle in a magnetic field. A user interface designed in Excel allows the student to input data on the charge and the mass of the particle, the initial conditions and the magnetic field. The data are then saved in a text file. VPython reads the data and renders the 3D graphics visualization of the motion. Interactivity is ensured since the student can change the data and directly observe the changes in motion.
Referência(s)