TypeError: f_of_omega() missing 2 required positional arguments: 'pA' and 'pB'

I have a problem, how do I solve it?

I answered this question via a private message.

For other students who may find this thread:
The notebook for this assignment has been updated. You need to get the new copy of the notebook.