Browse by Topic

Thanksgiving Day the Wolfram Way

Thanksgiving is a special day to celebrate family, friends and food. Preparation is key to a safe and delicious Thanksgiving dinner. Wolfram Language can help lower the stress and up the ease of your Thanksgiving Day preparations.

Easy Calculation of Thawing and Cooking Times

Uninvited guests like foodborne bacteria can ruin an otherwise perfect Thanksgiving dinner. Here are two tools that can help ensure your turkey is thawed and cooked properly. You can access these via natural language input or by using FormulaData.

Remember, never thaw a turkey by leaving it out on the counter. A safe way to thaw a frozen turkey is by putting it in cold water (change the water every 30 minutes to ensure it stays cold):

 ✕
 ✕
 ✕

Unstuffed turkey:

 ✕

Stuffed turkey:

 ✕

After cooking your turkey, use a food thermometer to make sure it has reached a minimum internal temperature of 165° F/74° C. To check, insert a food thermometer into the thickest part of the breast, thigh and wing. If you cooked stuffing inside the turkey, check the temperature at the center of the stuffing to ensure it also has reached the safe minimum temperature.

To Brine or Not to Brine

Brine is a solution of water and salt. The salt in brine dissolves some of the protein in the turkey’s muscle fibers, which can reduce moisture loss during cooking. If you plan to brine your turkey, Wolfram Language can calculate the mixture for you.

Based on www.simplyrecipes.com, the basic turkey brine recipe is four quarts of water to 250g of salt. Let’s define a function to calculate how much salt is needed to create any volume of brine:

 ✕

Test that it gives what we expect:

 ✕

Then use it for any volume:

 ✕

Remember, do not brine any longer than two days, and always keep the turkey and brine refrigerated at 40° F or lower. Discard the brine mixture afterward. Do not reuse it.

Mashed Potatoes for Everyone

Did you receive short notice about cousins or in-laws coming for Thanksgiving dinner? Scale up your recipe and ensure there are enough mashed potatoes for all of your guests.

The recipe I’m using is Martha Stewart’s classic mashed potatoes.

Copy and paste the ingredient text straight from the webpage:

 ✕

To get Interpreter to understand what entities we’re talking about, we can clean up the text and separate out the ingredients with a little string processing. We can ignore any ingredient lines with no amounts in them, since these are probably ingredients that are added in small amounts or to taste, and they won’t affect the overall nutrition of the meal:

 ✕

Now that we have clean strings, we can use Interpreter to give us a semantic representation of them in Wolfram Language:

 ✕

Use the "AbsoluteTotalCaloriesContent" property to get caloric information about the recipe as a whole:

 ✕

The recipe states that this serves 10 people, so we can calculate the calories per serving:

 ✕

By making this recipe computable using Wolfram Language’s food data, we can also calculate the quantity of each ingredient needed to make this recipe for any number of people.

Here’s what we would need for one portion:

 ✕

And here are the amounts of each ingredient needed for a party of 25:

 ✕

Turkey Sandwich, Anyone?

You can safely store those Thanksgiving Day leftovers using information in Wolfram Language. A side-by-side comparison helps you decide whether to refrigerate or freeze that extra food:

 ✕

Happy Thanksgiving!

To our Wolfram community, we are thankful year-round for your creativity and passion for innovation. We wish you a Thanksgiving season filled with joy, good food and great computations!

Bonus Viz: Create a Thanksgiving Dinner Collage

Create your own festive Thanksgiving dinner collage with one line of code:

 ✕