Here's a video that explains how your computer and cell phone use algorithms.Do you want to learn more about Computer Science? Check out this class taught by David Malan.In mathematics and computer science, an algorithm is a step-by-step procedure for calculations. Algorithms are used for calculation, data processing, and automated reasoning.How, exactly, does online dating work? In this perfect-for-Valentine’s-Day TED-Ed lesson , OKCupid co-founder Christian Rudder walks you through how the dating website does its matching — by using a carefully-honed algorithm to create a compatibility rating for two potential daters. In this fascinating video, Rudder shares how the site lets daters decide which factors are most important to them — and then crunches the numbers behind the scenes. Here's a blog post from TED.com.