How can I restrict algebraic input to a given set of variables, i.e. refuse any other input at validation level?
Background is that I ask for an expression in N, l, E and A and get results such as Nl/EA, with the students assuming implicit multiplication between the characters. I could add asterisks for this particular question, yet I don't want the students to get used to this, because I will not always have single character names.