Tampilkan postingan dengan label graphing data. Tampilkan semua postingan
Tampilkan postingan dengan label graphing data. Tampilkan semua postingan

Senin, 10 September 2012

Graph paper link, and setting up a graph for conceptual physics

Above picture from
free online graph paper
Wednesday is our first day of class.  New students arrived here on Sunday, so we're in the midst of two days of orientation and partying.*  I've spent the past week making final preparations for teaching 9th grade conceptual physics -- no wonder I haven't posted much.

*Unfortunately, the skee-ball machine is delayed, so probably won't be at my house for my advisee group's get-together tonight.  I'll have to use it for physics classes, instead.

In the first class session, we will set up a mirror and ray box.  Students will take turns using a protractor to measure angles of incidence and reflection.  Each student will make a graph of angle of incidence on the horizontal, and angle of reflection on the vertical.  The point here is to establish context for reflection and refraction, and to be sure we all know how to use a protractor before the first true laboratory exercise on refraction.

In a 12th grade course, I'd have students figure out how to scale the graph.  Dealing with a range of 0-90 degrees, when the graph paper has seven major ticks and 70 minor ticks on the horizontal axis, is a serious skill that I try to teach, and which takes significant patience and practice.  However, for 9th graders I'm happy if they can plot points accurately at all.

So I've gone to this link for free online graph paper.  This page is particularly nice because you can choose from common templates (e.g. 1 inch major with 1/10 inch minor gridlines), OR you can customize the weight of the line, number of lines per inch, etc.

For that first class session, I can bring the class to understand that we need to scale each axis from 0-90 degrees.  Making that scale will be easy as pi, because I've printed out customized paper that has nine major gridlines across the page, and five minor gridlines per major gridline.  The class can see quickly that each major line will represent 10 degrees, so each minor line will represent two degrees.  And the graph will take up the whole page.

GCJ

Kamis, 23 Juni 2011

GOOD GRAPHS: a sequel to BAD GRAPHS

I do have a couple more BAD GRAPHS.  These are utterly obvious, so I won't post pictures:

(BAD GRAPH #9) Failure to draw a best-fit at all means the slope cannot be taken properly
(BAD GRAPH #10) Failure to label the axes of the graph and to include units means the graph is worthless.

Now that we've washed our hands of those, it's time for some GOOD GRAPHS. 

GOOD GRAPH #1: y-intercept is clear

The y-intercept may have physical significance.  Often it's useful to be sure that the y-intercept can be recognized by inspection.  However, this is not the only GOOD GRAPH.

GOOD GRAPH #2:  You don't HAVE to start scaling from the origin
This graph is just dandy.  In fact, there has been at least one AP question (2005 problem 6) on which the scale could not have begun at the origin in order to scale the data to at least half a page.  Students will attempt to demand a hard-and-fast rule about scaling graphs from the origin, but such a rule does not exist.  The scaling of a graph depends on the circumstances of the data.

One warning, though, while we wrap up today's feel-good episode of GOOD GRAPHS:

GOOD GRAPH #3:  If you don't scale from the origin, be careful about the y-intercept.

This graph is quite fine.  Proper labels, scale, points, and best-fit.  However, gotta be careful... the circled point looks to be the y-intercept.  But no!  The horizontal scaling starts from .01 kg.  The actual y-intercept has to be extrapolated.

BAD GRAPHS:  Summation
I've created this series of posts on request from several teachers.  Our students come to us with essentially zero experience making useful graphs of experimental data.  We have to bust all sorts of misconceptions. 

Ideally, we bring our class to an understanding of the purpose of an experimental graph.  A graph communicates not just the result of the experiment, but also the data acquired, the calculational methodology behind that result, the precision of the result.  A scientist who says merely "From my data, I conclude that the density of this oil is 0.9 g/ml" must be taken at his word.  It is so much more transparent to say, "The density of this oil is 0.9 g/ml, as determined by the reciprocal of the slope of this graph here."  Of course, a BAD GRAPH undermines this point.

It's great if you can get your class to see why they should not make BAD GRAPHS.  But the other usefulness of this series of posts is more functional.  When your student tries to argue that his graph is okay, and when he's not listening to or believing your rationale, you can point him here:  "Johnny, look at BAD GRAPH #5.  That's why you're going to redo the graph you submitted."

Selasa, 21 Juni 2011

Bad Graphs part II: don't force the best-fit through the origin

In today's episode of Bad Graphs, we begin with another poor scale.

BAD GRAPH #4:  Scaled to less than one-quarter page
As you can see -- or maybe you can't, it's so small -- these data points are plotted correctly, but in a teeny weeny portion of the page provided.  A proper graph takes up well over half the available room on the page.  The standard for credit on this particular AP problem (2010 B2) was for the graph to take up more than 1/4 page.  Scaling across a whole page is a skill that must be taught -- it does not come naturally out of math classes.
BAD GRAPH #5:  Can't see the data points without a magnifying glass
If you want to get extra-technical, the size of the data points on the graph should reflect the experimental uncertainty in each quantity measured.  That is, if you could measure to the nearest milliliter, than the data points should be as big as half of a box in the vertical direction.  (And if large uncertainty would make the points ridiculously big, then you're supposed to use error bars.)

For the purposes of AP exam questions or labs within my course, all I ask is that the data points be clearly visible, as in all of the other BAD GRAPHS shown in this post.  The graph above, though, shows itty bitty dots and a nice best-fit.  Sure, the best-fit will yield a reasonable slope, but without easily seen evidence of where that slope came from.

BAD GRAPH #6:  best-fit line forced through the origin
A best-fit line should reasonably indicate the trend of the data.  There is no one "best" best-fit, but rather a range of allowable best-fits.  I've occasionally had my class draw the steepest possible best-fit, then the shallowest, and note that the value of the slope is somewhere between these two extremes. 

The problem with the graph above is much more subtle than with some of the other BAD GRAPHs.  This student has drawn the best-fit line by starting at the origin of coordinates, and only then trying to approximate the trend of the graph.  Problem is, for one thing, the origin is not a special spot on the graph.  The point (0 kg, 0 m3) is no more important than the point (.04 kg, .000054 m3).  Even in the case where (0,0) is a data point, it's a data point like any other.  Would you insist that the best-fit line always go through the third data point?

In this particular experiment from the 2010 AP exam, the y-intercept of the graph was explicitly non-zero.  (In fact, the last part of the question demanded students to figure out that the y-intercept represented the volume of fluid displaced by the floating cup alone, without any additional mass.)  Forcing the best-fit through the origin not only artifically steepens the graph's slope, but it obscures the physically meaningful y-intercept.

Of course, forcing best-fits through the origin isn't always as subtle.  Trust me.  When we graded this problem, we saw the not-totally-unreasonable version above, but also we saw plenty of these:

BAD GRAPH #7:  Curved to get to the origin

 Yuk.  But this one takes the cake...

BAD GRAPH #8:  Forced through the origin that isn't even the origin
It's perfectly acceptable, and sometimes desirable, not to begin an axis at zero.  However, you gotta recognize that what looks like the origin isn't necessarily the actual origin, in that case.  This grapher would have been fine, except for forcing that line through the origin that, after all, isn't the origin.  Boux.

One more set of BAD GRAPHs tomorrow.  But I promise, I'll include a couple of GOOD GRAPHs as well.

 





Senin, 20 Juni 2011

Bad Graphs -- Common mistakes on data-graphing test questions part I: horrid best-fits

In the previous post, I discussed the rubric for an AP Physics question that required graphing data.  A number of folks requested that I show and discuss the most common mistakes on this type of question.  I should emphasize that while I am speaking in the context of grading the AP Physics exam, the graphing issues here are germane to experimental physics at any level.  Even in the most basic conceptual physics course, even in our professional level Research Physics course, appropriate graphing skills should be developed.

Don't let your students' graphs look like these.  You may laugh at some -- just the mere fact that you're reading this blog implies that your students would be less likely to make most of these mistakes.  But understand that every one of these mistakes is made FREQUENTLY on the AP exam. 

BAD GRAPH #1:  Non-linear axes
Aarrgh!  This is the most horrid of bad graphs, suggesting that this student has never graphed data in his life.  The only time I've seen it in my own class was the first year I taught, in the first lab I assigned to my regular 9th grade class.  That was an eye opener -- we stepped back and had a new lesson the next day.  On one hand, I used to think that AP students generally wouldn't make this mistake; however, having graded graphs on the actual exam, I'd now bet that one exam in twenty does this.

BAD GRAPH #2:  Dot-to-dot
At least this student has graphed data before.  Connecting data like this implies that we have theoretical or experimental support that the slope of the graph is or should be different in each region.  Since the slope of this particular graph is related to the fluid density, the implication is that the fluid density changes depending on what mass we float on the water.  Really?

BAD GRAPH #3:  Curve fudged to go through each data point
This is for the folks who have been told never to connect dot-to-dot, but who are still uncomfortable with the idea that data points indicate a trend -- they are not delivered unto us on stone tablets by the Almighty.  Some students do even more obvious fudging, making sure their curves go through the center of every point.  They are implying theoretical justification for a 6th order function modeling the data.  I remember the eye-opening I experienced when someone pointed out that if you make excel use a high enough order polynomial, you can produce a curve that will seem to fit ANY data set perfectly.  I counter this misconception not only by fiat (minus one million points for drawing a baloney curve), but also by insisting on an enormous amount of data in every experiment.  It's hard even for first-year students to justify fudging a fit through 20 data points.

It's not hard, folks -- when there is theoretical support for a linear graph, and/or the data look linear, just place the danged ruler down on the paper, align it approximately with the trend of the points, and draw.  When done right, a proper best-fit line takes much less time than any of the baloney above.

So that this post doesn't go on for pages, I'll stop here.  Tune in tomorrow for the "scaling issues" edition of BAD GRAPHS.

Jumat, 17 Juni 2011

Graphs in laboratory -- a rubric

The 2010 AP Physics B exam, question 2, provides a typical lab-based question involving graphical analysis of data.  Students were asked to graph a small set of volume-vs.-mass data on the axes provided; the density of the oil used in the experiment was then determined by the inverse of the graph's slope.

It's instructive to look at the portion of the rubric (look at pages 5 and 6) relating just to the graph.  Graphical analysis is an important skill, one evaluated in our classes and tested on the AP exam.  But an equally necessary skill is that of creating and presenting a graph in the first place.  You might think that merely making a graph is child's play compared to understanding the graph's meaning, but even strong students don't usually do a good job presenting graphs until they've practiced many times.

Part of the students' issue is that they perceive the graph creation process as drudgerous busy work.  "I've got the data my teacher told me to take right here in a table.  Why do I need to bother making this graph?  I'll do it because my teacher is making me, but it's stupid."  And they make the graph as quickly and sloppily as they can.

Well, the creation and presentation of a graph was worth 4 of 15 points on AP Physics B 2010 #2.  Maybe significant credit -- or loss of credit -- can convince students to make graphs properly.  It's instructive to look at how those points were awarded.  We can see and communicate to our classes the elements of a graph that college professors, the AP exam, and we as high school physics teachers are looking for.

Point #1:  axes.  Were the axes of the graph labeled properly, with units?  On this particular problem, the axes were pre-labeled, but the units had to be included.  On a lab in class, I ask the students to use the axes to communicate in words the quantity measured, along with its units.

Point #2:  scale.  The scale must be linear (i.e. the space between gridlines must always represent the same value); the scale should allow the plotted points to take up most of the grid.  On 2010 B2, the standard for credit was that the scale must allow the data to take up more than 1/4 of the grid area.  I'm more stringent in my class, requiring the use of more than 1/2 the grid area.

Point #3:  plot.  The points must be plotted correctly and visibly, such that the measurements could be correctly extracted from the graph.  Earning this point is usually a matter of attention to detail, but part of experimental physics is attention to detail.

Point #4:  best-fit.  A best-fit line must be straight, meaning drawn with a straight-edge.  It must never deliberately connect point-to-point.  It must not be forced through the origin.  (That's the most common mistake here.)  It should reasonably represent the trend in the data. 

However you grade your students' graphs, in lab and on tests, the elements in this rubric can provide a guideline for what's important.  Train your students to check each of these elements before turning in a graph.  Perhaps even make them redo a graph that is substantially missing one of these elements. 

Point is, a scientist would never dream of presenting for publication a graph that doesn't meet each of these four standards.  Your students shouldn't, either.

GCJ