473,325 Members | 2,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 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 3136
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

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

Similar topics

8
by: aruna | last post by:
to write a c program to find the roots of the equation using bisection method that too using array or pointers
2
by: t4zone58 | last post by:
Hey guys! I am beginner at VB studying. I got confused with solve the functions by applying bisection method in VB. Basically I can understand the bisection method mathmatically. However i got...
24
TMS
by: TMS | last post by:
I'm working through the bisection method to find the root of a function. I'm asking patience (yet again) because I haven't used this method for a while. I found the formula on wikipedia. ...
6
by: Cappo | last post by:
Hello, I just started programming in C++ and i have a problem with a task.I need to write a program which illustrates the Bisection method in C++. I have some codes, which use the bisection code,...
2
by: Baba sina | last post by:
1. How to find the roots of this function F(X)=X^3-3 with bisection method with interval . 2.How to find the roots of the function F(X)=X^3-5X+1 with false position method using(A0=0 and B0=1)...
1
by: zxipo | last post by:
the numerical prolem is is x*x*x*x-4*x-10=0 this to be solve by bisection method
0
by: jhen61315 | last post by:
Hello there, First time here in forum, I hope im welcome here.... And I hope you'll help me in my assignment in bisection method because i dont know how to start to make in visual basic.. If you...
1
by: lhbrown | last post by:
Hi. I'm looking for some help with the Bisection method in Visual Basic, which I'm using for the first time as part of a university project. I am using the bisection method to work out the water...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.