Numerical Analysis Questions & Answers  
Question by Student 201327139
Professor. I'm the one who asked you how to solve Q.4 (b) after class, but I can't understand, so Let me ask you one more time, please.
On Q.4 (b) , secant method in system form, using Jacobian,

\( \begin{pmatrix} \frac{{f}_{1}({x}_{1})-{f}_{1}({x}_{0})}{{x}_{1}-{x}_{0}}& \frac{{f}_{1}({y}_{1})-{f}_{1}({y}_{0})}{{y}_{1}-{y}_{0}} \\ {f_2(x_1)-f_2(x_0) \over x_1-x_0} & \frac{{f}_{2}({y}_{1})-{f}_{2}({y}_{0})}{{y}_{1}-{y}_{0}} \end{pmatrix} \)\( \begin{pmatrix} \Delta x_1 \\ \Delta y_1 \end{pmatrix} \) = \( \begin{pmatrix} -f_1(x_1,y_1) \\ -f_2(x_1,y_1) \end{pmatrix} \).

but, I can't calculate \( \frac {{f}_{2}({x}_{1})-{f}_{2}({x}_{0})}{{x}_{1}-{x}_{0}} \).

Because, \( f_2(x) = 0.3- \sqrt {x} + \arccos (\frac {0.5}{\sin^2 x}) \), and \( \arccos (\frac {0.5}{\sin^2 (0.6)}) \) is NaN.

How can I calculate this? or did I miss something? Thank you.
11.13.17
The problem comes from your arccos().. Hint: when using the secant method in A4Q4b, you shouldn't have to find derivatives analytically. Thus, there shouldn't be an arccos to compute because such doesn't appear in the original functions.
Question by Student 201627131
Professor, I try to solve 4(b) by secant method, but I can`t solve because In jacobian, $$\frac{\delta f_1}{\delta x_1} = \frac{\delta f_1}{\delta x_2}$$ And, $$\frac{\delta f_2}{\delta x_1} = \frac{\delta f_2}{\delta x_2}$$ But $$-f_1(x_1, x_2)$$ and $$-f_2(x_1, x_2)$$ are different. So, root is non-exist, I can`t solve this. Is there something wrong?
11.14.17
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.
Question by Student 201627131
I calculate this process. jacobian is $$\begin{bmatrix} \frac{\delta f_1}{\delta x_1} & \frac{\delta f_1}{\delta x_2} \\ \frac{\delta f_2}{\delta x_1} & \frac{\delta f_2}{\delta x_2} \end{bmatrix} \begin{bmatrix} \Delta x_1 \\ \Delta x_2 \end{bmatrix} =\begin{bmatrix} -f_1(x_1, x_2) \\ -f_2(x_1, x_2) \end{bmatrix}$$ and $$\frac{\delta f_1}{\delta x_1} = \frac{\delta f_1}{\delta x_2}=\frac{sin^2(0.60001)cos(0.60001)-sin^2(0.6)cos(0.6)}{0.00001}$$ $$\frac{\delta f_2}{\delta x_1} = \frac{\delta f_2}{\delta x_2}=\frac{\sqrt{0.60001}-0.60001-\sqrt{0.6}+0.6}{0.00001}$$ but, $$-f_1(x_1, x_2) = 0.5-sin^2(0.6)cos(0.6)$$ $$-f_2(x_1, x_2) = 0.3-\sqrt{0.6}+0.6$$ so, I can't do gaussian elimination because $$\begin{bmatrix} \frac{\delta f_1}{\delta x_1} & \frac{\delta f_1}{\delta x_2} \\ 0 & 0 \end{bmatrix}$$ And, I think that root is non-exist
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 $$
Question by Student 201529190
Dear Professor I wonder about A#5 for Q#3-2. I get Total=303+404+12+12+606+404=1741 but answer is=2751 . I am confused.
11.17.17
Indeed, the answer should be 1943 operations (simple algorithm) or 1741 operations (more complex algorithm). Either answer is fine. Good observation: 2 points bonus.
Question by Student 201427122
professor, I think A Newton polynomial of Question #3 is (C), not (B). And at Question #1, $$y=C_1+C_2\sqrt x+C_3x$$, I use algorism by Least square - combination of functions. If I use algorism by just Least square, Is it same correct algorism?
11.21.17
Your question is too messy, I can not read it. Don't use a capital letter to start a word within a sentence except for names or for "I". Always use a capital letter when starting a sentence. Check your spelling. After you correct those, I'll answer your question.
Question by Student 201427122
Professor, I think that A newton polynomial of Question #3 is not (B) but (C). And at Question #1 $$y=C_1+C_2\sqrt x+C_3x,$$ I use algorism by Least square - combination of functions. I do like this: $$f_1(x_1)=1, f_2(x_2)=\sqrt x, f_3(x_3)=x.$$If I use algorism by just Least square, Is it same correct algorism?
Yes, this seems OK. You're on the right track. You need to further improve your spelling and orthograph thus.
Previous   1  ...  8 ,  9 ,  10  ...  19    Next  •  PDF 1✕1 2✕1 2✕2  •  New Question
$\pi$
cron