In the past, a user had to select the type of wash in a washing machine manually; the amount of water and the duration of the wash cycle had to be keyed in before the washing process began. Today, automatic washing machines employ what is known as fuzzy logic to automate this process. Fuzzy logic is a mathematical system that is capable of analyzing analog input values and converting them into logical variables. The difference between fuzzy logic and digital logic is that the former converts the analog values into continuous values between 0 and 1 while digital logic converts it into a value that is either 0 or 1. This means that the machine is able to judge states that are not only true or false but partially true or false also.