Evidently, f(c) will have a positive or negative sign unless it has the value zero in which case it is the root. Now this mid-point, let's call it 'c', will have some value for the function, namely f(c). We choose the mid-point of this interval.If the end points have the same sign, we can use the GO TO statement to read new values for a and b. This is because we will search for a point within this limit that has zero value for the function or a point where the function crosses the x-axis of the Cartesian Plane. The end points should be such that the value of the function, f at both points should be opposite in sign.i.e. Assign end points for the 'root hunt'. Here is how to find a root using this method. It works on the Intermediate Value Theorem which says that if a continuous function changes sign over an interval, there is at least one root of the function in that interval. The bisection method is useful when you want to find a root of a continuous function in a specified range.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |