Problem Solving # 1:  Variables and Functions -- Nouns and Verbs

Below are some simple problem solving strategies and tactics that will be of great help to you throughout this class.

Variables = Nouns

Variables come in several different flavors:
1.  Numbers -- Real or Complex
2.  Lists
3.  Strings
4.  Booleans -- True or False
5.  Functions
Be sure that you understand the types of the variables in your functions before you try to write any code.

Functions = Verbs

Functions perform operations.  Therefore think of functions as verbs.
1.  Factor
2.  Sum
3.  Solve
4.  Integrate
Be sure you understand what operation your functions are supposed to perform before you try to write any code.

Problem Solving Strategies

Below are seven basic problem solving strategies you should incorporate into your mental toolbox.
1.  Know the meaning of all the variables (nouns).
2.  Know the meaning of all the functions (verbs).
3.  DRAW A PICTURE TO CLARIFY THE PROBLEM.
4.  Break up large problems into manageable size steps.
5.  Investigate the problem on small numbers and small amounts of data.
6.  Test your functions on small numbers and small amounts of data, before you try large numbers and large amounts of data.
7.  Test each of your functions BEFORE you use them inside of other functions.