Pregunta de entrevista de MathWorks

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