HW 5 MATLAB CS

profileMasharmnc
hw5_s16-2.doc

image1.png CS122

Homework 5: Relational / Logical Operators and Branches (if & switch)

15 Points Total

Assignment

The following 3 exercises are to be completed for Homework 5 - using Chapter 4 in the textbook (sections 4.1 to 4.4.4, and section 4.5).

Exercises: 4.4, 4.6, 4.8 (pp. 170-171 in textbook)

Deliverables

The deliverable is a hard copy printout of the typed exercise questions and answers. If using MATLAB for obtaining the solutions, you may copy/paste the MATLAB input syntax and the resulting output for the answers (still include the typed exercise questions). If helpful – include a copy of the MATLAB figure being created.

Type your name and "CS 122-1 HW2" for the 8:00AM class, "CS 122-2 HW1” for the 10:20AM class, “CS122-3 for the 12:40PM class, or “CS122-4” for the 2:20PM class. Also include the due date (March 9, 2016) as part of the assignment heading.

After including your name, section, and due date – print the assignment for submission.

**This assignment is due in class on the due date (Wednesday, March 9, 2016)**

image2.png