Releases: tobiasbriones/ep-secant-method
Releases · tobiasbriones/ep-secant-method
v1.1.0
v1.0.0
EP: Secant Method
Version: v1.0.0
First release.
This release has all the functionality I expected from this program.
If you wish to extend this project just take into account some considerations:
- Clearing the console only worked for me when debugging with VS, not when running the generated executable.
- Get aware of how to take the results, in this case, I computed the algorithm without rounding anything until finishing and then rounding the x value found and also rounding P(x) according to the decimal precision of 4 decimals.
- The coefficient implementation for the polynomial class can be optimized to avoid storing huge polynomials with lots of zero coefficients, it was just not necessary to do for this project.
- I didn't handle when a root was found but outside of [a, b], it's up to you.
- The iterations can be printed, consider when the number of iterations is less than a small number to avoid polluting the console with hundreds of iterations.
Notes
The executable attached might not be well received by your Windows, you can also run the source code from Visual Studio instead.