You can also enter input using the mouse with special symbol
palettes, but
the ``InputForm'' syntax, below, remains valid
for typed (keyboard) input.
solution = Solve[ { x+3y==8, 2x-y==7 }, {x,y} ]
If[ v != w, Print["the two values are not equal"]]
and text output is suppressed if a command is
followed by a semicolon, e.g.
| Mathematica command | notes |
|
matrA . matrB |
# of columns in A must equal # of rows in B |
|
matr . vec |
# of columns in A must equal # of elements in v |
|
vec . matr | v is automatically transposed: vtA |
| vecA . vecB | dot product, vectors of equal size |
Next:
``Super Calculator''
Table of Contents