Cooking with Mathematics
This post is not going to be very maths-heavy but will include some concepts from the area of graph theory which we will use in an unusual setting.
Today we’re going to get into the virtual kitchen and get our virtual taste buds a-buzzing….Well, actually we’re going to get our computers to do the hard work of finding out some tasty recipes and we’re going to use a few different techniques to do this. The workhorse is going to be the Mathematica programming language, but a lot of what we will do will be doable in any programming language, though perhaps it will be slightly more cumbersome than this.
The starting point of our culinary adventure will be a piece of text, taken from a website of flavour pairings here.
We see here that we have a piece of text which we can copy and paste into our Mathematica file.…