Laser Beams and Elliptical Billiards: Euler Problem 144

This article provides a solution in the R language for Euler Problem 144: How many times does a laser bounce inside an elliptical mirror before the light beam exits it? We can use the solution to this problem to simulate elliptical billiard tables.

Simulating Water Consumption to Develop Analysis and Reporting

This article simulates water consumption to assist with developing leak detection algorithms. Simulating water consumption helps to develop business tools.

Tic Tac Toe Part 3: The Minimax Algorithm

In two previous posts, I presented code to teach R to play the trivial game of Tic Tac Toe. I thought this was an unbeatable algorithm. Alas, a comment from Alberto shattered my pride as he was able to beat… Continue Reading →

R-Cade Games: Simulating the Legendary Game of Pong

Playing arcade games in R? Introducing pong, the first R-cade game. This code simulates the legendary game of pong in your favourite data science language.

Tic Tac Toe War Games: The Intelligent Minimax Algorithm

Using the R language to build a Tic Tac Toe War Games simulator. Teach your computer to play a perfect game of Naughts and Crosses.

Tic Tac Toe Simulation — Random Moves

Tic Tac Toe might be a futile children’s game but it can also teach us about artificial intelligence. Tic Tac Toe, or Naughts and Crosses, is a zero-sum game with perfect information. Both players know exactly what the other did and when nobody… Continue Reading →

SCADA spikes in Water Treatment Data

SCADA data is essential in operating water treatment plants. Spikes in the data can indicate problems. How can you detect SCADA spikes using the R language?

© 2018 The Devil is in the Data — Powered by WordPress

Theme by Anders NorenUp ↑

%d bloggers like this: