The Frozen Code – A Classroom Example

I could have kicked myself when I saw Dan Meyer’s post about Gelato Fiasco‘s Frozen Code. I mean, they are literally just blocks away from my school. I didn’t use Dan’s map to launch the problem (Gelato Fisaco only has two actual stores), but just dove into the main idea that he posed. Here’s the prompt.

I have a bunch of students, mostly 9th graders, in a class called Functions for Modeling. So today I gave them the challenge of finding a function rule for the Frozen Code. We started by assuming that the gelato that they purchase would cost $5.00. One class came up with three different rules:

IMG_1074The blue group originally had just the middle rule: P(T) = 0.05T + 3.40. Students in both classes were eager to point out that the rule only applies if the temperature drops below 32 degrees Fahrenheit, and they wanted to somehow make that clear in the function rule. So we started to add to the definition. Then someone pointed out that there would be a bottom limit to the discount, too. After all, Gelato Fiasco might be willing to give you gelato for free if you are that willing to venture out into the extreme cold and they are still open, but they are unlikely to pay you to come in. So we added the third bit about temperatures below -68 degrees Fahrenheit.

What I love about the above work is that before we got into all the piecewise stuff, I was able to ask them, “How do we know if these three function rules are equivalent?” They told me that they “generated the same results,” that they could “use algebra to change from one to another,” and that they “would all produce the same linear graph.” How cool is that? We were also able to discuss how one form easily told us the price (of a $5 gelato) when the temperature was 0 degree F and another form showed us all the calculations clearly.

But they weren’t satisfied. After all, every gelato purchase isn’t going to cost $5 – price is also a variable. So that’s how we got into functions that have two independent variables. I asked them to modify their rules to reflect this new information. Here’s what they did:

IMG_1073

Once again I asked if these were equivalent and how they knew. We wondered what the graph would look like. Would it be flat or curvy?

We’ll check that out tomorrow.

[Update: Here are the graphs comparing the set price of $5 to the variable price model.]

gelato models

By the way, my students think this is a pretty good marketing strategy – you are fairly likely to get some kind of discount for buying gelato in the dead of winter, but not that big a discount, on average. Last Thursday would have been a great day, though. The temperature was -10 after the sun set.

1 Comment

Filed under Uncategorized

One response to “The Frozen Code – A Classroom Example

  1. Nice one ! They can now say that they have been “doing math”.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s