A system of Prolog based programs for the purpose of approximating the rank of algebraic operations of finite unary algebras is presented. The rank function is a measure of finite algebras and their algebraic operations. Rank is a recursive function used in universal algebra and was first introduced as a tool for proving strong dualizability. Logic programming. particularly Prolog, is commonly used in natural language processing, an area of study devoted to the use of computers to understand human (natural) languages. One goal of this thesis is to explore a relationship between the fields of Mathematics and Computer Science through the application of logic programming techniques on structures from universal algebra. This thesis is motivated...