user
Formulate a mathematical equation for calculating the average of a given set of values.
[2,5,9,4]

assistant
The equation for calculating the average of the given set of values is 
Average = (2 + 5 + 9 + 4) / 4 = 5.