Get coefficients from a character
getCoefficients(char, symbol)
char
character, e.g. "2*x + y"
symbol
single character, e.g. "x" or "y"
numeric vector with the coefficients