This homework has two types of problems:
Self Check: You are strongly encouraged to think about and work through these questions, but you will not submit answers to them.
Problems: You will turn in answers to these questions.
(Required) Mitchell, Chapters 10--11
(Required) The Scala Tutorial
Mitchell, Problem 11.4
The given conversions between Cartesian and polar coordinates work for any point (x,y), where x \geq 0 and y > 0. Do not worry about points where x < 0 or y \leq 0. The figure P.11.4.1 appears on page 332.
You should try to write reasonably accurate Smalltalk code for part (b), but you do not need to use Squeak.
Mitchell, Problem 11.7
Mitchell, Problem 11.6
(You will find it useful to answer Problem 11.7 first before working on this one.)
Mitchell, Problem 11.8
Mitchell, Problem 11.9
Submit your answers to the GradeScope assignment named, for example, "HW 0". It should:
You will be asked to resubmit homework not satisfying these requirements. Please select the pages for each question when you submit.