Archive | CVPM RSS for this section

Day 65: Hour of Physics Code

wpid-img_20141211_121530354_hdr.jpg

College-Prep Physics: I’ve been coding with my AP Physics classes for years. But in honor of this week’s Hour of Code, I tried VPython programming for the first time with my College-Prep class. We used the GlowScript version of VPython, which can now run regular VPython code inside a browser. Nothing to install!

Why are we coding in physics class?

I asked the students if they had ever seen the first Toy Story movie:

Realistic motion is often too complicated for animators to do by hand, says Michael Kass, a researcher at Pixar Animation Studios. “The results can be awful and very expensive.” He points to the original 1995 Toy Story and notes that “if you see a wrinkle in clothing, it’s because an animator decided to put in a wrinkle at that point in time. After that we [at Pixar] decided to do a short film to try out a physically based clothing simulation.”

(excerpt from “Animation uses old physics to new effect” in Physics Today)

Then I showed this simple cloth physics engine:
http://andrew-hoyer.com/experiments/cloth/

Next, we watched these short clips showing more advanced modeling of clothing, hair (from Tangled), and snow (from Frozen).

 

Now it was time for the students to tinker with some code which modeled our red and blue constant velocity buggies. Rather than have them do a tutorial from scratch, I gave them a pre-written VPython program and asked them to make changes in order to create different outcomes. They worked in pairs, and I circulated around the room stamping their sheets as they accomplished each task. (The ♢♢ tasks require them to apply what they learned from the ♢ tasks.) Often there is more than one way to do each task.

Resources:

For more info on how to incorporate programming and computational physics into an introductory physics course, I highly recommend reading this article:

Chabay, R. & Sherwood, B. (2008) Computational physics in the introductory calculus-based course. American Journal of Physics, 76(4&5), pp. 307-313. pdf abstract

NGSS Science and Engineering Practices:
#5. Using mathematics and computational thinking

Advertisements

Day 21: Highlights This Week

Today is a quiz day, so I’ll share 2 other things we did this week.

AP Physics C: Students designed their own experiments to determine Young’s Modulus for 3 different types of marshmallows: store-brand jumbo marshmallow, store-brand regular marshmallows, and Jet Puff marshmallows.

wpid-img_20141001_130532003_hdr.jpg

College-Prep Physics: We did another speed of sound lab using a Direct Measurement Video called Keeping Time.

Students took data, used Desmos to create a position-time graph for the sound to travel down the line of kids, and fit a trend line to the data to determine the speed of sound.

SpeedofSoundDMVDesmos

Not bad!

NGSS Science and Engineering Practice #3: Planning and Carrying Out Investigations
NGSS Science and Engineering Practice #4: Analyzing and Interpreting Data

Day 18: Speed of Sound

wpid-img_20140930_120643596.jpg

College-Prep Physics: Today we did the traditional speed of sound lab using Vernier microphones and Logger Pro. It turns out that our 4-sided meter sticks worked great as tubes. We stood them vertically on the floor so the floor acted as the reflecting surface. We got nice data:

wpid-img_20140930_121532780_hdr.jpg

We used the thermometer in the room and Hyperphysics to determine the actual speed of sound in the room. Most groups got with a few percent!

##CVPM

NGSS Science and Engineering Practice 4: Analyzing and Interpreting Data

Day 16: Relative Motion

IMG_20140924_104509957_HDR

College-Prep Physics: This year I decided to bring relative motion into my curriculum. It’s a unit in Preconceptions in Mechanics, a book I used a lot last year for introducing different types of forces. My hope is that vector addition of velocities (which can be easily demonstrated, see below) will help some kids understand that vector addition of forces act the same way.

I modified the lesson cycle from the Preconceptions in Mechanics, Unit 2 Day 1 Lesson.

I started off the lesson showing the first 15 seconds of of this Japanese video in which a baseball is shot at 100 km/hr out of the back of a truck moving in the opposite direction at 100 km/hr (you could even do the first 3 minutes if you’re evil):

They’re hooked. “What happens?”

Next, I handed out the voting sheets. Here are the slides with my questions for each stage of the voting:

For the first vote, students write down their vote, an explanation, and a “makes sense” score. Then we share out responses. I don’t tell them the right answer, but just move on the the next voting question.

“WAIT! What happens? Why are you moving on?” they ask.

“Don’t worry, we’ll come back to that question later. But first I want you to consider these situations.” I say.

So we go through votes #2-#4 on the slides. After writing their vote, explanation, and makes sense score on the sheet,  we share out responses, and try to come to a consensus. After consensus is reached, I demo the scenario using buggies and a short Pasco dynamics track (pictured above). The track is clamped to 2 flat-top constant velocity cars from The Science Source, which have the same motors and wheels as the typical red and blue buggies, meaning they go the same speed. For questions 2 and 3, I use a slow blue buggy (1 battery) to represent Adam running east and west and fast flat-top cars (2 batteries each) to represent the faster train moving east.

The best is when we get to vote #4, in which Adam is running at the same speed as the train. So we use a fast red buggy (2 batteries) to represent Adam. The results were perfect:

Then vote #5 returns to original question: What’s the velocity of the ball as it leaves the truck? We share out, come to a consensus, and then watch the rest of the video from Japan.

I also follow-up with a short MythBusters clip in which they replicate the same experiment, but use a soccer ball instead of a baseball. Great results:

As a check for understanding, we did the HW sheet for Day 2 (not Day 1) in class. They knocked it out of the park, so I don’t think doing the Day 2 or Day 3 lessons from Preconceptions in Mechanics would be good use of time.

We didn’t do any of the voting questions about non-parallel velocities, and I don’t plan to with my college prep kids. If I did, I’d make that an entire lesson with its own set of voting questions, rather than stick it at the end of Lesson 1 like PiM did.

##CVPM

NGSS Science and Engineering Practice 6: Constructing Explanations and Designing Solutions

 

Day 14: To Catch a Speeder

IMG_20140922_092252273

College-Prep Physics:  Today we went out to the lawn to film cars zooming by in front of the high school. Then we went to the computer lab to learn how to analyze the video in Logger Pro in order to determine the speed of the cars. (We set the video scale using fence posts along the road — they’re 10 feet apart.) We shared out our data to determine if there was a speeding problem in front of the school.

IMG_20140922_154022

It’s not even October yet, and students have already had a hand at using each of the different data collection techniques we’ll be using throughout the year: Desmos on Day 9, Logger Pro probeware on Day 13, and Logger Pro video analysis today.

##CVPM
##videoanalysis

NGSS Science and Engineering Practice 4: Analyzing and Interpreting Data

 

Day 13: A New Approach to Colliding Buggies

College-Prep Physics: Modeling Instruction’s standard lab practicum for the constant velocity unit is colliding buggies. Lab groups take data to determine the speed of their buggy, then the buggies are quarantined and groups are paired up. Each group pair is then given an initial separation distance for their buggies and are asked to predict the point were the buggies will collide. Once they calculate the answer, they are given their buggies back to test their prediction.

It’s fun, but there are some frustrations. Groups that have poor experimental design or data collection techniques won’t calculate the correct buggy speed, which means they won’t accurately predict the collision point. Also, since only the separation distance is given, there isn’t much focus on the position of the buggy and students are less likely to use a graphical method to find the collision point. They try all sorts of equations instead. In the end, one person in the group typically does the calculations while her partners just copy her work.

This year, I decided to shy away from the calculation aspects of the buggy collision lab and instead use the activity to get students more familiar with some of the digital tools we’ll be using throughout the year.

Logger Pro: Students used a motion detector and Logger Pro to find the speed of their buggies. They learned how to select portions of the graph and how apply a linear fit. This also reinforced the concept that the slope of a position graph represents velocity. They printed a copy of the graph and taped it into their lab notebooks. Then I quarantined the buggies.

buggyPro

Position, not distance: Pairs of groups were then assigned a starting position relative to an origin (marked on the floor) and a direction of motion. Careful advance planning let us have a variety of collision scenarios — some head on, some where a fast buggy catches up to a slow buggy moving in the same direction.

IMG_20140918_102248554

Desmos: Groups were then required to model the collision scenario in Desmos in order to determine the collision point. For me, the physics is in formulating the correct models to type into Desmos, not actually solving the set of simultaneous equations or graphing them by hand. Surprisingly, there were some interesting mistakes in this stage: Some groups didn’t use the proper sign for the slope to indicate a buggy heading north/south. Some groups just used the sign from their Logger Pro graph (positive or negative, depending on whether they made their buggy move towards or away from the motion detector). And still some groups used the y-intercept from their Logger Pro graph as their starting point instead of the starting point they were assigned. Once the mistakes were realized, it was a quick fix in Desmos — much less frustrating than reworking a set of simultaneous equations. Then they tested their predictions and included their Desmos graph in their notebooks.

buggycrashDesmos

It went well this way, and took about 40 minutes from start to finish. It was something that even students with weaker math/algebra skills could find accessible. Plus, there was more reasoning and discussion about what the slopes and intercepts mean and how to model the situation rather than a focus on solving equations.

##CVPM

NGSS Science and Engineering Practice 2: Developing and Using Models

 

Day 12: Inventing Average Velocity

IMG_20140918_093951158_HDR

College-Prep Physics: We had a great discussion/debate about the meaning of average velocity today. Rather than give students the definition, I simply asked them to determine the average velocity for the following position-time graph (thanks Kelly O’Shea):

position-time graph

Students generated 8 different possible ways to compute the average velocity and I wrote them on the board (see top pic):

  1. The average of the magnitudes of the non-zero slopes.
  2. The average of the non-zero slopes.
  3. The average of the magnitudes of all slopes.
  4. The average of all the slopes.
  5. A time-weighted average of all the magnitudes of all slopes.
  6. A time-weighted average of all the slopes.
  7. Total distance divided by time.
  8. Total displacement divided by time.

Then we calculated each one and saw we got mostly different answers.

Students: “Which one’s right?”

Me: “So, how do we find the velocity for part of the trip?”

Students: “It’s the slope of the position-time graph.”

Me: “So how about the whole trip?”

Students: “The slope from start to finish?”

Me: “Yep.”

 

position-time graph 2

Students: “That’s 6 m in 6 seconds, so 1 m/s north.”

Me: “Did any of your methods yield the same value?”

Students: “Methods 6 and 8.”

Me: “Can you see why?”

And so we discussed how those two methods and the “net slope” method of finding the average velocity are really all the same thing.

It was a really great discussion.

A copy of my handout (with Kelly’s graph) is here: WORKSHEET Interpreting Position Time Graphs 2015

##CVPM

NGSS Science and Engineering Practice 6: Constructing Explanations and Designing Solutions