471,108 Members | 1,353 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,108 software developers and data experts.

c++ in solving function with bisection method

How can I solve f(x) with bisection method with the interval [1,2]?
Feb 12 '07 #1
2 2964
sicarie
4,677 Expert Mod 4TB
How can I solve f(x) with bisection method with the interval [1,2]?
The first thing I would do is examine the mathematical solution, and create a step-by-step algorithm that will solve for any f(x), and then I would create an algorithm for a program that incorporated that mathematical method.

Have you tried that approach, or did you just start coding? What code do you have?
Feb 12 '07 #2
Ganon11
3,652 Expert 2GB
What do you mean by "solve f(x)"? Do you mean find the value of f at x? Do you mean finding a point where f(x) = 0? There are many possible interpretations of that phrase, and just as many solutions.
Feb 12 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by Cappo | last post: by
2 posts views Thread by Baba sina | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.