# Homework¶

Homework problems are due by 6:00 pm on the date indicated. Homework assignments will consist of two types of problems:

Analytical problems:

• Show your work. If you used a calculator or computer to help solve a problem, state what you used.
• Write your answers legibly (or type them out). I will take off points for problems that cannot be read.

Programming problems:

• All computational work must be accomplished in functions and scripts. Aside from running each script at the Matlab prompt, no other commands should be required.
• All Matlab scripts should begin with the clear command, to ensure that it does not depend on externally-defined variables.
• All Matlab files must have your name in the comments, and all Matlab functions must be commented to fully describe arguments, outputs and the purpose of major code blocks.
• If specified in the assignment, your file names must match those requested, to simplify grading.

I recommend that students work together to discuss general approaches for problems. This may include general proof strategy, general code organization, or explanation of topics from lecture or the textbook. However, specific details on solving problems or implementing programs must not be discussed with anyone except the instructor. All work turned in for credit must represent your own individual effort, and must be in keeping with the SMU Honor Code.

Examples of allowed/disallowed collaboration:

• Proofs: You can discuss the strategy of any proof (e.g. proof by contradiction, important definitions from the book, etc.), including any “tricks” that may be required. However, all actual writing of the proof and all justification of steps must be done on your own, and may not be copied from another student.
• Codes: You can discuss the code structure, including which functions are needed, which algorithms to use, and how functions should interact with one another (e.g. input/output arguments). However, you must write all codes yourself, using your own personal variable/fuction names, comments, and implementation details.

Turning programming problems in:

Before 6:00 pm on the date indicated, you must upload a single ”.tgz” or ”.zip” file to Canvas, containing all Matlab functions and scripts as separate ”.m” files, and all requested input, output and diary files as ”.txt” files.

Turning analytical problems in:

Before 6:00 on the date indicated, you must upload a single ”.pdf” file to Canvas, with your responses to all analytical homework problems.