Basically the problem is in the trapezoid and simpson functions, sorry for pasting the whole code. :)
Type: Posts; User: ConnyLenz
Basically the problem is in the trapezoid and simpson functions, sorry for pasting the whole code. :)
I have an assignment where I have to use the trapezoidal and simpson's rules to estimate the integral of a function. Everything works as far as I can tell, except for the final results. If someone...