Due on October 15 at 11:59pm electronically via email.
Use a word-processor like Microsoft Word or LibreOffice (free), or \( \LaTeX \) (also free) to create a single PDF file with all of your answers. If you want to include code, do not put them in this file. This file should include your graphs, equations, tables, and explanations. The name of this file should have the following format: LASTNAME_STUDENTNUMBER_A2.pdf. You can hand-write your answers, but you will have to scan your papers, or take a picture of them. In any case, send me one PDF file. I will not accept paper submissions.
If you want to include multiple code files (.m or .py files), put them all in one folder, zip the folder, and send me only one zip file. The name of this file should look like this: LASTNAME_STUDENTNUMBER_A2.zip
Attach both files to an email and send it to msamani[at]fields.utoronto.ca. Make sure the title of the email starts with MATH3090.
Question 1: Let $$ f(x) = -\cos(x) - x^3$$
Question 2: You can solve a system of non-linear equations in multiple variables $$ \begin{cases}f_1(x_1, x_2, ..., x_m) = 0 \\ f_2(x_1, x_2, ..., x_m) = 0 \\ f_3(x_1, x_2, ..., x_m) = 0 \\ ... \\ f_n(x_1, x_2, ..., x_m) = 0 \end{cases}$$ using the Steepest Descent method simply by setting $$ g(x_1, x_2, ..., x_m) = \sum_{i=1}^n f_i^2 $$ and then finding the set of \(x_i\) that minimizes \(g\). Use the Steepest Descent method to approximate the solution to the following system of non-linear equations with tolerance of \(0.01\): $$ \begin{cases} 3x^2 - y^2 = 0 \\ 3xy^2 - x^3 - 1 = 0 \end{cases} $$ Take the point \( (1,1) \) as your starting point. Bonus marks are given for generating a Contour map of \( g(x,y) \) and plotting the path taken to arrive at the solution on top of the map.
Questions from the textbook: 5.5, 5.9, 5.12