Pergunta de entrevista da empresa MathWorks

The programming problem I got was to calculate an equation in string.