Numerical Analysis Questions & Answers  




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.




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.




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.




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 LATEX until the problem occurs and I will check it.



$\pi$ 