How to do it?:

Submission: Submit the link on Github of the assignment to Canvas


  1. Write the following function. Give examples to test your function.

Hint: Similar function


  1. Write the following function. Give examples to test your function.

Hint: Use If-statement to combine the function in Problem 1 and the function in this example


  1. Write the following function. Give examples to test your function.

Hint: Similar function


  1. Write the following function. Give examples to test your function.

Hint: Similar function


  1. Write the following function. Give examples to test your function.

Hint: Combine this function, this function, and the function in Question 4. One way to combine is creating a new function, quick_plot, and call these three functions within quick_plot.