Numerical Analysis Questions & Answers | |
|
|
Yes you're on the right track. I may ask you this question in the next assignment. You should explain this better thus perhaps with a C program or a more detailed example. 1 point bonus.
|
|
|
|
Hm, no, this is not what I had in mind.. What you are calculating here is the work needed for one of the terms, not the work needed to obtain all terms. 1 point for effort.
|
|
|
|
|
|
If you want me to help you, you need to explain better how you compute the jacobian of the secant method. Give me an example of how one term in the Jacobian matrix is computed below.
|
|
|
|
The problem here is the way you determine your derivatives numerically. Hint: $\delta f_1/\delta x_1 \ne \delta f_1/\delta x_2$. To evaluate those correctly, recall the definition of a partial derivative: $$ \frac{\partial f(x,y)}{\partial x}= \frac{f(x+\Delta x,y)-f(x,y)}{\Delta x}~~\textrm{for}~\Delta x \rightarrow 0 $$
|
|
|
|
Indeed, the answer should be 1943 operations (simple algorithm) or 1741 operations (more complex algorithm). Either answer is fine. Good observation: 2 points bonus.
|
|
||
$\pi$ |