Pergunta de entrevista da empresa MathWorks

5 math questions and 2 coding problems (I chose the section two)