Part ONE

Forgetting or not understanding the differences between (···) {···} [···]

(···)  parenthesis are for logical grouping and are useful when you are unsure which operations take precedence    

Three Examples of common mistakes:

"index_1.gif"

"index_2.gif"

"index_3.gif"

"index_4.gif"

{···}  curlies are for lists, iterators, and variable bounds

Example of a common mistake:

"index_5.gif"

"index_6.gif"

[···]  single brackets are for lists, iterators, and variable bounds
        Common Mistakes:

Examples of common mistakes:

"index_7.gif"

"index_8.gif"

"index_9.gif"

[[···]]  double brackets are for lists, iterators, and variable bounds

Example of common mistake:

"index_10.gif"

"index_11.gif"

Forgetting Mathematica's convention of capitalization of Functions

Examples of common mistakes:

"index_12.gif"

"index_13.gif"

"index_14.gif"

"index_15.gif"

Forgetting to use patterns in function definitions

Examples of common mistakes:

"index_16.gif"

"index_17.gif"

"index_18.gif"

Forgetting to delayed evaluation, :=, in function definitions when the placeholders have been previously defined.

Example of common mistake:

"index_19.gif"

"index_20.gif"

"index_21.gif"

"index_22.gif"


Created by Wolfram Mathematica 6.0  (27 August 2007) Valid XHTML 1.1!