Randomized physics questions with JSXGraph and Formulas