Assignment C, harder and optional

To learn a bit more about Python, you can watch this lecture from Harvard.

Now, redo the steps in Assignment A, then try the following:

a)

Define two variables that you call first_name and last_name. Give them their appropriate numeric values based on your name and replace the numbers in the formula with these variable names. The graph should look the same as previously.

b)

Add two arguments to the function f. Hint: It should say def f(x,A,B): instead of def f(x):. Replace the variables first_name and last_name in the formula with A and B. Change the code y = f(x) to correctly plug your variables first_name and last_name, and x, into your function. The graph should look the same as previously.

You do not need to hand in Assignment C.