Skip to main content

C++ Program for Bisection Method to find the Roots of an Equation

download C++ source code file

Bisection Method is used to find the root of an equation. Let a function is given f(x)=0
we want to find the root, for this we need two points r, l (right and left) say
and the values of the function at these points is
' rv' (right point value)
'lv' (left point value)
make sure that the values rv and lv are of oposite sign( so that the root lies between 'r' and 'l')

then calculate a middle point (r+l)/2 say this 'm'
and the value of the function at middle point is to be calculated now, let it be 'mv'

now check , mv*rv>0 it means, the root lies  between 'l' and 'm' so now change 'r' to 'm'
again calculate a middle point , and so on.....
continuously you will go near to the root, the points 'r' and 'l' comes nearer 
at a point you will get  that 'r' and 'l' becomes very close or nearly equal. that point is the root. where f(r) and f(l) becomes approximately equal.

Comments

Popular posts from this blog

Online Captcha work without investment daily payment fraud website

There are many ways of Earning online as this is the time of the Internet. We can earn a lot of money by working online but it is not so easy too, but that doesn't mean impossible. people are earning huge money from Online. but there are a lot of the websites making people fool and looting money from them. so if you are looking for the genuine methods of earning online you are at right place. what I'm going to describe in this article: Is it Really Possible to Earn a Good Income Online? Genuine Ways to earn online. Be aware of the Fraud; Online Typing Jobs-Scam-Fraud website Is it Really Possible to earn a Good Income Online? in one word my answer is "Yes" there are a lot of people who work online, earning a good income. They work from their workplace. They are their own boss of their work. But like a Job, they give full time or part-time to work on a daily basis. It is not like you work to earn online for 2,3 or 4 days and not getting results then .....

How to Make Tiny and Easy USB OTG Cable at Home : 5 Steps

Make Your Own OTG at Home Step-1 these apparatuses are required to make an O.T.G. at home by using waste, data cable, headphone lead etc. you can use another wire in place of the headphone lead but it should be soft for making the life long of the OTG feviquick is used to paste the wires after soldering so that they will not be loose, for making it attractive you may use coloured wires.try to make it tiny. it looks better Step-2 cut the wire and take 10-15 cm from four wires of it. Step-3 take waste micro-A USB and one side of USB Type-A and remove the plastic from it. Step-4 connect the one end of the wire (from step-2)to micro-A USB and the another end of it to USB Type-A connections are according to the above Picture. Step-5 Now put one drop of the feviquick, at every joint to make it strong, Now your OTG is ready to use

How to Install Master PDF Editor v5.0.3 on Ubuntu 18.04 and 19.04

What is Master PDF Editor ? Master PDF is an application which allows you to edit, create or view PDF documents. You can also encript your documents with passwords by using this application. So, This application would be very usefull for you. Master pdf editor application is available for several OS, Operating Systems, such as Windows, Linux, Mac OS. How to Install Master PDF Editor ? (Ubuntu) Download the master pdf editor application package via terminal as follows: root@munendra-latitude-e6430:/home/munendra# wget https://code-industry.net/public/master-pdf-editor-5.4.38-qt5.amd64.deb --2019-08-06 17:12:35-- https://code-industry.net/public/master-pdf-editor-5.4.38-qt5.amd64.deb Resolving code-industry.net (code-industry.net)... 136.243.89.42 Connecting to code-industry.net (code-industry.net)|136.243.89.42|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 10847830 (10M) [application/octet-stream] Saving to: ‘master-pdf-editor-5.4.38-qt5.amd6...