Question by Student 201527105 professor, i have a question about Assignment7-Q#4. To calculate the error, the actual value of intergal should be known. According to the trapezoidal rule and the simpson rule, i obtained appoximate values. But i don't know the actual value of given integral. How can i get it? / And i also wonder if the error always decreases as N increases. (Intuitively, i think it is true.)
 12.09.18
You can find the exact value by using a very large $N$. So, just double $N$ until the value of the integral doesn't change significantly anymore and use this as the exact value. 2 points bonus.
 Question by Student 201427128 professor, I have question in operation counting about gaussian elimination with partial pivoting. for example, In the process of gaussian elim, if ${m}=\begin{bmatrix} 1&0&5&5 \\ 0&0&6&6 \\ 0&1&7&7 \end{bmatrix}$ I have to do partial pivoting $P_{23}$ ${P_{23}m}= \begin{bmatrix} 1&0&0\\ 0&0&1\\ 0&1&0\\ \end{bmatrix} \begin{bmatrix} 1&0&5&5 \\ 0&0&6&6 \\ 0&1&7&7 \end{bmatrix} =\begin{bmatrix} 1&0&5&5 \\ 0&1&7&7 \\ 0&0&6&6 \end{bmatrix}$ In this course, Operation counts of $P_{23}=3*(3*4)=36?$, Is what I'm doing right? or Is there another way to calculate?
No, there is no work done when doing the pivoting operation because there is no addition or multiplication. This was mentioned above for a similar question.
 Question by Student 201427128 professor, I have question in A7#3. In this case, N is even(=50). In simpson method, Interval $I_{i}$ need 3 data point. ex) $I_{1}$ mean interval between point ($i_{1},i_{2},i_{3}$)so when I use simpson method in this problem, $I_{49}$(between $i_{49},i_{50}$) is left. how can I solve it? Maybe I think the remaining Interval $I_{49}$ can be solved by trapezoidal rule. Is it the right way?
That's for you to find out. Check if you obtain reasonable convergence rates using your approach when $N$ is small (i.e. as you would expect for the Simpson rule) and if so, it means it's fine.
 Question by Student 201427144 Proffessor, I have a question about 4th order Runge Kutta method. I made a assumetion that $f(\phi,t)=f(t)$. In this case, $$k_{1}=\bigtriangleup t×f(t), k_{2}=k_{3}=\bigtriangleup t×f(t+\frac{\bigtriangleup t}{2}), k_{4}=\bigtriangleup t×f(t+\bigtriangleup t)$$. Substitute them to 4th order Runge Kutta, $$\phi_{n+1}=\phi_{n}+\bigtriangleup t×(f(t)+4×f(t+\frac{\bigtriangleup t}{2})+f(t+\bigtriangleup t))/6$$, which is same as the Simpson's Rule. Am I on the right track to relate 4th order Runge Kutta to Simpon's Rule?
 12.10.18
Hm, didn't I mention this in class..? It's a good observation, but not a question.
 12.11.18
 Question by Student 201427128 professor, I have question about A7#5(=Quiz 7). In Quiz, I got the polynomial coefficients. In Numerical Analysis Scores page, you comment "using Taylor series" but I don't understand what is mean. I need help.
I'll check again your quiz to be sure. The problem in your case is that you used the Simpson rule to get $I_i$: you shouldn't do this here hence why you got 2/3.
 Previous   1  ...  20 ,  21 ,  22 ,  23    Next  •  PDF 1✕1 2✕1 2✕2
 $\pi$