Question by Student 201029134 professor, I am sorry but I actually ask the question above this about the Question#2 not the Question#3. I think secant method need two points like $x_{0}$ and $x_{1}$ for calculating.
 10.03.16
The secant method only needs one $x$ for the initial guess (it functions similarly to the Newton method). But you also need to specify a small $\Delta x$ initially to calculate the derivatives. Just set it to a small value of your choice: this won't affect much the convergence history as long as it is not too small.
 Question by Student 201527151 Professor, when we use function of sin(x), we include library and also write a function code of double sin(double x){    double ret;    ret = sin(x);    return ret;}. However, the code still doesn't work, and when I compile, it says: undefined reference to 'sin'. Is there something else we should add to a code about sin then?
 10.04.16
I don't understand. Are you trying to code a sin(x) function? If so, there is no need to code it because the function sin(x) is already defined in the math library.
 Question by Student 201129143 Professor, I wrote $$LX'=B$$ "Back substitution, but starting from top" on note. But another book say that this process is Forward substitution. So I wonder that what is the different.
 10.10.16
You can call it forward substitution if you wish, this is the correct term. In class, I mentioned that this is the same process as back substitution (but going from top to bottom rather than bottom to top) to make it clear that this is not a new type of process. I'll give you 1.5 point bonus boost for sharing this with the class.
 Question by Student 201327116 Professor, Assignment #3 Q#1 (b) In C, We can solve by using the upper triangular. In Compile, The denominator is zero when there is the problem What ever it is that you can use when the denominator is zero?
 10.14.16
Are you getting the same problem when solving it by hand? If not, then it means there is a bug in your C code. If yes, then outline the problem in another question below.
 Question by Student 201327107 Professor, I learned partial pivoting in order to prevent possible division by 0. As a result, for 4 rows and one column of A matrix is ​​0 in Assignment3 Q1, then should I have to use partial pivoting in C code and by hand?
 10.16.16
No, you shouldn't be using pivoting here because the question asks to use Gaussian elimination. Double check your solution: if you think there is a mistake in the question formulation then outline your full solution below in until the problem occurs and I will check it.
 Previous   1 ,  2 ,  3 ,  4  ...  11    Next  •  Make PDF
 $\pi$