A Mathematica Function to Get a List of Random Inequalities and Their Respective Solution Sets
摘要
Solving inequalities is a first step and an important achievement for undergraduate students. In fact, it is one of the first subjects studied in most of the classical courses of higher basic mathematics. This paper presents a new function, GenerateInequalitiesList, coded in the Wolfram programming language, which is typical of Mathematica software, to generate a random list of inequalities with their respective solutions. To encode the program, use is mainly made of the native functions RandomInteger, RandomChoice, Reduce, and Surd; as well as the paradigms of functional programming and programming based on rules and patterns (typical of symbolic programming languages). The list of inequalities obtained can be used by teachers and/or students. The former is to save time in preparing exercises and the latter to generate practice material. The problem of the high license price of Mathematica can be overcome by assembling a Raspberry Pi computer and installing the free version of Mathematica for Raspbian.