Messages and Print Output

These are some evaluations that will cause messages to be generated by Mathematica. There is also a Mathematica print statement.

Input is 1/0

 
ComplexInfinity

Input is Sin[x,1]

 
Sin[x, 1]

Input is Print[ "The result is ", x^2];5.6

 
5.6


The messages were:

 
                                 1
Power::infy: Infinite expression - encountered.
                                 0
Sin::argx: Sin called with 2 arguments; 1 argument is expected.


The print output was:

 
               2
The result is x