{"id":21258384,"url":"https://github.com/josgard94/bisectionmethod-python","last_synced_at":"2025-03-15T06:27:56.457Z","repository":{"id":136452050,"uuid":"299530143","full_name":"josgard94/BisectionMethod-Python","owner":"josgard94","description":"The bisection method is based on the mean value theorem and assumes that f (a) and f (b) have opposite signs. Basically, the method involves repeatedly halving the subintervals of [a, b] and in each step, locating the half containing the solution, m.","archived":false,"fork":false,"pushed_at":"2020-09-29T07:15:01.000Z","size":9,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-21T21:35:10.290Z","etag":null,"topics":["bisection","bisection-method","numerical-analysis","numerical-methods","python","python-3","python3","root"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/josgard94.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-29T06:53:40.000Z","updated_at":"2023-05-31T15:10:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"58d506c3-5e86-46f9-8eaf-20a8785606b6","html_url":"https://github.com/josgard94/BisectionMethod-Python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josgard94%2FBisectionMethod-Python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josgard94%2FBisectionMethod-Python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josgard94%2FBisectionMethod-Python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/josgard94%2FBisectionMethod-Python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/josgard94","download_url":"https://codeload.github.com/josgard94/BisectionMethod-Python/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243692785,"owners_count":20332264,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bisection","bisection-method","numerical-analysis","numerical-methods","python","python-3","python3","root"],"created_at":"2024-11-21T04:08:38.802Z","updated_at":"2025-03-15T06:27:56.451Z","avatar_url":"https://github.com/josgard94.png","language":"Python","readme":"# BisectionMethod-Python\nThe bisection method is based on the mean value theorem and assumes that f (a) and f (b) have opposite signs. Basically, the method involves repeatedly halving the subintervals of [a, b] and in each step, locating the half containing the solution, m.\n\nBelow is an example of approximation of the root of the function f (x) = 10x ^ 2:\n\ninterval a: -2\ninterval b: 5\n\nn  |\t   a \t\t|\t   b \t\t|\t    c \t |   f(a)\t   |    f(b) \t\t |  f(c)\n\n1  | -2.00000 | 5.00000 |\t 1.50000 |\t6.00000  |\t-15.00000  | 7.75000\n\n2  | 1.50000 \t| 5.00000 |\t 3.25000 |\t7.75000  |\t-15.00000  | -0.56250\n\n3  | 1.50000 \t| 3.25000 |\t 2.37500 |\t7.75000  |\t-0.56250 \t | 4.35938\n\n4  | 2.37500 \t| 3.25000 |\t 2.81250 |\t4.35938  |\t-0.56250   | 2.08984\n\n5  | 2.81250 \t| 3.25000 |\t 3.03125 |\t2.08984  |\t-0.56250 \t | 0.81152\n\n6  | 3.03125 \t| 3.25000 |\t 3.14062 |\t0.81152  |\t-0.56250 \t | 0.13647\n\n7  | 3.14062 \t| 3.25000 |\t 3.19531 |\t0.13647  |\t-0.56250 \t | -0.21002\n\n8  | 3.14062 \t| 3.19531 |\t 3.16797 |\t0.13647  |\t-0.21002 \t | -0.03603\n\n9  | 3.14062 \t| 3.16797 |\t 3.15430 |\t0.13647  |\t-0.03603 \t | 0.05041\n\n10 | 3.15430 \t| 3.16797 |\t 3.16113 |\t0.05041  |\t-0.03603 \t | 0.00724\n\nResult: \n\nApproximate root:  3.16113  \nIterations performed:  10  \nError:  0.00724\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosgard94%2Fbisectionmethod-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosgard94%2Fbisectionmethod-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosgard94%2Fbisectionmethod-python/lists"}