Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BISECTION METHOD #1

Open
klentgwapz opened this issue Oct 15, 2022 · 2 comments
Open

BISECTION METHOD #1

klentgwapz opened this issue Oct 15, 2022 · 2 comments

Comments

@klentgwapz
Copy link
Owner

bisection method.txt

Can anyone help me correcting this Bisection Method, I'm stuck because it is not making another iteration.

@joecare99
Copy link

Step trough your program, then you'll see that after the first iteration the error is -1 !
-1 is clrearly below 0.000000000000001 so the loop ends.

@joecare99
Copy link

Try:
while (Math.Abs(error) > 0.000000000000001)
then you'll get an result ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants