# Python ICE 1

Write Python commands to create the following matrix. $A = \begin{bmatrix} 4 & 0 & 0 & 0 & 0\\ 0 & 4 & 0 & 0 & 0\\ 0 & 0 & \cos\frac\pi6 & -\sin\frac\pi6 & 0\\ 0 & 0 & \sin\frac\pi6 & \cos\frac\pi6 & 0\\ 0 & 0 & 0 & 0 & -2\\ \end{bmatrix}$ Try to do it with only three (3) lines of code.

The "final exam" for this course will take place at 8:00 AM on Tuesday, 12 December. This will be an ordinary 50 minute test. It will be comprehensive, but weighted toward the latter half of the semester. As always, paper notes will be permitted, but no electronic devices will be allowed. A sample exam is available.

A Solution example is available for the quiz. The solution to Test 1 is still available too.

The ultimate assignment is posted.

Department of Mathematics, PO Box 643113, Neill Hall 103, Washington State University, Pullman WA 99164-3113, 509-335-3926, Contact Us