Mathematica analysis