Assignment 4 - Modules & OOP
Assignment 4 - Modules & OOP
The questions are designed to help you become familiar with Python’s modules and OOP. To complete
each question, you must do a dry run. You should expect to use some or all of the following Python
features:
After you have completed the assignment, you need to submit the file in a .pdf format. The file you
submit should have an appropriate file type. The file should include your name and your registration
number e.g., abc_123456789_assignment4.pdf -- would be an appropriate filename for a student with
name abc and 123456789 that was submitting a file for homework assignment 4.
We expect students to not look at implementations online and do the assignment themselves.
Plagiarism will be dealt with strictly.
5. Write a code to plot both sine and cosine curves in the same plot with proper legend.