2However, we can create mechanisms that accept multiple input variables (say distance, current date, date traveling, discounts, destination, starting point, etc.) and produce a single output (cost of ticket). In many cases, this will resolve the ambiguity caused by using only one independent variable.