Tag «GlowScript»

Conceptual Understanding in Introductory Physics XXXII: Practice With Simple Vector Comptuation

This question is a numerical version of the previous question. For a given arbitrary vector quantity , calculate the following quantities. Use a different vector quantity for each student, and have them do the calculations in a programming language in real time (like GlowScript) to demonstrate coding proficiency. Additionally, these calculations can be done very …

Oral Interviews as Assessment

TL;DR I have begun using oral interviews as a replacement for traditional written tests and quizzes. There are many advantages for faculty and students, including elimination of paperwork, better chances for understanding students’ state of comprehension, a more relaxed environment, and no possibility for gaming for points. The ongoing pandemic has amplified many questions I …

Time Steps and Binary Representation in Computer Simulations

TL;DR Using a time step whose decimal representation isn’t exactly representable in binary may lead to confusion over how much total time has elapsed in a computer simulation. It may be worth discussing in class, or worthy of an investigative or inquiry activity. Sometimes, a problem comes up repeatedly over the years and every time …

So you want to be a GlowScript developer? Here’s how!

TL;DR Developing for GlowScript requires setting up a rather extensive, but straightforwardly installed, development environment. Actual coding is done in JavaScript.  GlowScript is an online programming environment inteneded to be used to teach computation in introductory physics, although it has other applications and purposes. Although GlowScript users write code in Python (Specifically VPython, which is …

Vector Formalism in Introductory Physics VI: A Unified Solution for Simple Dot Product and Cross Product Equations

TL;DR: Simple vector dot products and cross products may be “undone” using formal methods consistent with Gibbsian vector algebra. Writing the cross product and dot product of an unknown vector relative to a given vector in a canonical form allows a well known vector identity to be used to isolate the unknown vector. Special cases …

Vector Formalism in Introductory Physics IV: Unwrapping Cross Products Geometrically

TL;DR: Vector cross products are not like products of real numbers, for which there is an inverse operation to “undo” multiplication. I don’t think we should introduce cross products as a form of “multiplication” in introductory physics courses because it may reinforce the urge to “divide by a vector.” A better approach may be to …

Vector Formalism in Introductory Physics III: Unwrapping Dot Products Geometrically

TL;DR: Vector dot products are not like products of real numbers, for which there is an inverse operation to “undo” multiplication. I don’t think we should introduce dot products as a form of “multiplication” in introductory physics courses because it may reinforce the urge to “divide by a vector.” A better approach may be to …

Visualizing Eigenvectors with GlowScript

I owe this post entirely to my mathematics colleague Ethan Smith and his recent work on visualizing eigenvectors in a plane. This work is based in turn on the paper by Schoenfeld. I’ve taken the visualization to 3D with the help of GlowScript and Trinket. I was instantly interested in this project becuase I’m looking …

Matter & Interactions I, Week 1

This is the first post of a series of sixteen in which I will attempt to describe the weekly goings on in my introductory calculus-based physics course. You probably already know that I use Matter & Interactions for this course, and I have since 1999. In fact, I was the first instructor in North Carolina …

Mastodon