## Category Archives: math

## A Journey of “Meat and Three”

September 12, 2012

Posted by on We’ve been playing with our Big Green Egg pretty hard. Many of the results have landed on this blog. But, with all that bar-b-que, we had never done any ribs! I know! What the frack were we thinking? Well, it just so happened that we needed to do another Big Green Egg event at work… and a solid food blog I follow (Griffin’s Grub) had literally just posted a whole thing on baby back ribs. The cards had been played, I could not deny it any longer!

So what’s all this about a “meat and three” then?

The phrase “meat and three” was unknown to me, until I traveled to our corporate office in Nashville. It is simple: choose a meat, choose three sides, order a sweet tea (iced tea with plenty of sugar, maybe some lemon), and enjoy. The beauty of it is that when a place offers three or four good meats (generally a brisket, ribs, sausage, and chicken) and five or six awesome sides (typically mac & cheese, bbq beans, fried okra, fried string beans, corn bread, etc.), then the possible combinations are just fantastic!

Heck, just for grins, here’s the statistics… Assume a place has four meats, and six sides. One may be tempted to use the simple rules of combinations to figure out how many variations on choosing side dishes we could have – and this would be a “6 choose 3” problem:

(6 * 5 * 4) / (3 * 2 * 1) = 20 different combinations.

However, that is only allowing us one of each side! Sometimes, you just need two helpings of potato salad and some fried okra! Removing the restriction of “only one of each” means we have to account for additional possibilities. We do this by adding 6 and 3, then subtracting 1. So, it becomes an “8 choose 3” problem:

(8 * 7 * 6) / (3 * 2 * 1) = 56 different combinations of sides!

Since we can only choose one meat per meal, that one is easy… there are 4 ways of picking a meat. So, in total:

**4 * 56 = 224 different meals possible!**

Statistics are pretty cool… but, back to the story at hand. Having purchased 15 pounds of quality baby back ribs, and having done my research, I knew I would need some way of keeping them “on end” in the smoker – there is just not enough room to have them all lay flat. I didn’t have time for a lot of engineering, so the morning of the cook, I just grabbed some fence wire (we have horses, and an electric fence that’s about 1/3 mile in perimeter) and a pair of needle nose pliers. I figured I’d just fashion something once I got there and could “touch and feel” a solution.

The night before, I had prepped the ribs. Rubbed with brown mustard, then with a combination of Jamaican jerk seasoning and Stubbs BBQ rub (equal amounts of each), then wrapped in plastic and set in the fridge.

Now, it was 5am, and I was at the office, taking out the ribs to get closer to room temperature, and setting up my plan. I cut up a bunch of wire, and bent them into little triangles with loops on the ends to catch the grill. I had the grill off the Egg, on a table, to do the work. It seemed pretty solid, so I added the ribs, and set it aside.

Once the Egg was up to temperature (250F), I dropped in a foil packet of mesquite chips, set the heat diffuser in place (a big aluminum pan that also acts as a drip pan), and lowered the entire grill/hanger/rib assembly into place! Buttoned it up and started the waiting game.

Per recommendation, I let them smoke for 2.5 hours. Then, I pulled the entire grill/hanger/rib assembly out of the Egg, and began Phase 2… tenderizing. This involved putting three thin pats of butter on each rib rack, setting it on foil, and pouring on a little beer (Geary’s Autumn Ale, brewed in Portland, Maine), then wrapping it up in more foil. Back on the Egg for another 45 minutes, still at 250F.

Finally, Phase 3… crisping. Pulled everything out again, removed all the foil, and set the ribs on the Egg one last time, with a handful of fresh mesquite chips on the coals, for a final smoke. I let it go another 1.5 hours, but I don’t think it was quite enough. The meat was “done” but the surface didn’t crackle… Next time, I will do a high temperature “finish” in the final hour… let the Egg get up to 500F, then close it up completely and let it slowly cool. That technique worked really well with some pulled pork, and it may give me the effect I was missing. After letting the ribs rest for a half hour, we cut them into two-rib segments and started the feast!

Well, that’s the “meat” portion… what about the “three”? Fortunately, my co-workers rescued me. We had mac & cheese, cornbread, and Caesar salad ready to go by lunchtime, and a bonus of a chocolate zucchini cake! All in all, it made a wicked yummy lunch.

[Photo credits: Wanda Clowater]

## The Calculus of smoking a roast

June 30, 2012

Posted by on Isaac Newton is a pretty bright coal in the fire pit of the scientific world. Okay, maybe he had his personal problems, but he was a brilliant thinker. One of his strongest assets was being able to find the simplicity and identify the essence of a complicated problem. His basic observations of natural phenomena became translated into elegant mathematical expressions.

One such example is Newton’s Law of Cooling and Heating. Our everyday experience tells us that ice cubes placed in hot water will melt faster than ice cubes placed in cold water. Newton’s observation was that any object’s temperature changes more quickly the larger the difference in temperature between that object and its surroundings is. A more mathematical-sounding expression would be:

*(1) The rate of change in temperature of an object is proportional to the difference in temperature between the object and its (assumed) constant environment*.

Well, mathematics is a wonderful language… we can express mathematical ideas both in words, as I just did in equation (1) above, and we can also express the same ideas, usually more succinctly, in symbols, as I will do in equation (2) below. Both equation (1) and equation (2) say and mean exactly the same thing!

*(2) dT/dt = k(T – T _{e})*

Here, we’re letting the symbol *T* represent the temperature at any time, *t*. We might also write this as* T(t)*, but that gets cumbersome. *T* is fine. The little *d* means “a very small change.” So, the first part of equation (2) means, a very small change in* T* during some very small interval of time, *dt*. This is also called the “instantaneous change” of* T*, or the derivative of *T* with respect to time,* t*. From equation (1), it is associated with the part saying *the rate of change in temperature*.

We also see in equation (2) the letter *k*, which is often used to express constant values. In our case, it is representing what we call a “constant of proportionality,” which is a fancy way of saying “scaling factor.” It’s a mathematician or physicist’s way of hedging their bets. We know that the change in temperature is **somehow related** to the difference in temperatures, but we’re not ready to commit to a single numeric value. Besides, different materials may have different ways they respond to temperature, and the goal is to keep things as generalized as possible. From equation (1) it is associated with the part saying *is proportional to*.

The last part of equation (2) is the difference, or subtraction, of *T _{e} *from

*T*. We’re letting

*T*

_{e}*represent the assumed constant temperature of the surrounding environment. Why do we assume it is constant, and is that a valid assumption? Well, we assume it is constant because it makes the math easier! So much of physics is finding ways to simplify the complex world so that we can better understand it, even if slightly imperfectly. Besides, in practice, in an experiment, we can control the surrounding temperature by keeping our object in a water bath, or keeping it in a refrigeration unit. But is it a valid assumption to make in nature? Try this thought experiment: put an ice cube into the ocean. The ice cube will melt – it is obviously changing temperature. How much cooler is the ocean because it gave some of its heat to melt the ice cube? The change in temperature is immeasurably small! There’s so much more mass of water in the ocean compared to the mass of a single ice cube. We consider “the environment” to be something like the ocean – a large enough mass of material (water, air, whatever) so that any heat that is transferred into or out of it will not measurably change its temperature. Therefore, from equation (1), it is associated with*

*the difference in temperature between the object and its (assumed) constant environment.*

So, how do we solve this equation? For that, we need integral calculus. But first, we need to rearrange equation (2) into a more useful form (this doesn’t change any of the truth of the equation, just makes it easier to work with):

*(2a) dT / (T – T_{e})*

*= k dt*

All I did was swap the *dt* and the *(T – T_{e}) *parts around. No blood, no foul. Now, we have each side of the equation with its own

*d*term. On the left is

*dT*, a very small change in temperature, and on the right is

*dt*, a very small change in time. When each side of an equation has its own “very small ____________” then we can integrate the entire thing. Integration is the process of undoing all the little

*d*terms… turning them from “very small change in” expressions into regular old expressions. So, if we integrate

*dt*all by itself, we just get

*t*. If we integrate

*dT*all by itself, we just get

*T*. The trick is that the left side of equation (2a)

**doesn’t just have dT**; it also has a T on the bottom there, and that complicates it a bit.

The complication need not stop our progress, though. There are entire, large, print volumes dedicated to cataloging all the integration rules. There are also many available on the intertubes. As it turns out, when we have a *dT* divided by a *T* (substitute any variable, as you like), then the result isn’t just *T*, it is the natural logarithm of *T*.

So, what the heck is a natural logarithm? What’s a regular logarithm, forget “natural”! When we write something like 10^{2} = 100, there are hoighty-toighty mathematical labels for each of the numbers. The 10 is the **base**, the 2 is the **exponent or power**. So, in a regular sentence, we might say, “Ten raised to the power 2 is one hundred.” Great. But we were talking about logarithms… Well, what if we were asked, “What power do we need to raise 10 by in order to get 100?” or equivalently, “100 is 10 raised to what power?” That’s where logarithms (aka, logs) come in. The base-10 log of 100 is 2. And, wait now… 2 is also the power you need to raise 10 by to get 100! Let’s just put it out there:

*(3) 10 ^{2} = 100*

*(4) log _{10}100 = 2*

Just to confirm this… The base-10 log of 1,000 would be 3, because 10^{3} = 1,000. Okay.

Natural logs, then, are just logs that have a specific base, different from base-10. For natural logs, the base is the number *e* = 2.71828-ish (the number keeps on going…). The number *e* has a fascinating history. The way we write “natural log” in symbols is *ln*. So, to say “the natural log of 4” we’d write *ln(4)*. Logs (natural and otherwise) have a pretty cool set of rules, which I won’t really go into, except to say that:

*(5) ln(10) – ln(3) = ln(10 / 3)*

We can convert a difference of logs into a single log of the quotient of the same numbers! Freaky cool! Anyway, we’ll leverage that in our eventual answer, but I don’t want to bog down with more detail than I’ve already included.

Like I mentioned above, the integration of *dT / (T – T_{e}) *is going to involve a natural log. The integration of

*k dt*is just going to be

*kt*. Let’s write it all out.

*(6) ln (T – T _{e}) | T_{o} -> T = kt*

Well, I’ve introduced a whole new thing here, not the least of which is a new variable, *T _{o} *, which is the starting temperature for our object. An ice cube might have

*T*32 F. The rest of the new stuff just tells us to evaluate the natural log from the starting temperature to our variable temperature,

_{o}=*T*. It results in this:

*(7) ln [ (T – T_{e}) / (T_{o} – T_{e}) ] = kt*

**Hey, we’re done!** That’s what we need, is equation (7). Let’s recap what it all means, quickly. *T* is the current temperature of our object at a specific time, *t*. For our purposes, it’s the temperature of our roast.* T_{e} *is the temperature of the environment. For our purposes, it’s either the temperature of the air (if we’re letting the roast sit following a stint in the fridge), or the temperature of our grill or smoker.

*T*is the starting temperature of the object. For our purposes, it’s the starting temperature of our roast (about 40 F if you just pulled it out of the fridge).

_{o}Oh, but wait… we don’t know what *k* is! And we can’t know this ahead of time. **We have to calculate it for our particular piece of meat**. But it is not difficult. Let’s walk through an example. I did this very thing just the other day when I was trying to figure out how long to smoke a 15 pound rib eye roast.

I pulled the roast out of the fridge at 04:00. Using a temperature probe, I found it was 38F. It set it out on the table, on a rack, but otherwise in the open. The temperature in the room was 72F. By 06:30, the roast had risen in temperature to 45F. That’s all the information I needed to calculate my roast’s value of *k*!

In this case, *T = *45, * T_{o}* = 38, and

*= 72. Also,*

*T*_{e}*t*= 2.5 hours. I used the scientific calculator on my computer because it had a natural log function.

**I calculated**. And that’s all I need, now, to find how long I have to cook this roast, for it to get to any temperature I want!

*k*= -0.09220946For this roast, I wanted to smoke it at 220F, and pull it off at an internal temperature of 115F, because I was then going to “reverse sear” it by running the Big Green Egg at 500F for 30 more minutes. Best estimates meant that this would bring it to 125F, and then it would rest for a time, rising another 5 to 10 degrees, for a finished internal temperature of 130-135F, a nice rare roast!

Now, *T = *115, * T_{o}* = 45, and

*= 220. Plugging in the numbers, and using my value for*

*T*_{e}*k*that I calculated, above,

**I found that I needed to smoke my 15 pounds rib eye roast for just over five hours**. Perfect! Since I had to be serving at 1pm, I just backed off the smoke time and the “reverse sear” time and the rest time… and saw that I needed to get the roast on the Egg at 06:45. Brilliant! No guess work! And the roast came out perfectly done… rare and beautiful.

Now, you could argue that since I had a temperature probe, why not just use that, and pull the roast off when it hit 115F, and so on. Sure, that is great when you don’t have a time constraint… but I needed to serve this roast at precisely 1pm… there was no wiggle room! And when there’s no wiggle room, you can’t just guess; you have to use math and science.