I describe a simple and quick algorithm to uniformly sample points on a mesh with supplementary pseudocode. This algorithm has applications in several computer graphics fields and can be implemented on the GPU.
I describe a Java program that solves the famous Knights and Knaves logic puzzle automatically by constructing truth tables. This work is an extension of my discrete math coursework. Image to the left courtesy of University of Hong Kong.