Main scripts:

Example 1: p2_ex1.m

Plotting rectified sine wave and square wave.

Example 2: p2_ex2.m

Plotting sinc functions.

Example 3: p2_ex3.m

Plotting parametric curves.

Example 4: p2_ex4.m

Showing off colors and marker styles.

Example 5: p2_ex5.m

Estimating the area of a circle, by filling the circle with randomly generated points.