{"id":19322012,"url":"https://github.com/akshay-rajan/numericalmethods","last_synced_at":"2025-07-15T19:19:03.667Z","repository":{"id":215810157,"uuid":"739810301","full_name":"akshay-rajan/numericalmethods","owner":"akshay-rajan","description":"Numerical Methods and their Implementation using Python.","archived":false,"fork":false,"pushed_at":"2024-05-02T15:33:49.000Z","size":23,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T05:31:47.969Z","etag":null,"topics":["differential-equations","equation-solver","interpolation","mathematical-programming","numerical-analysis","numerical-methods","python"],"latest_commit_sha":null,"homepage":"","language":"TeX","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/akshay-rajan.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":"2024-01-06T16:04:45.000Z","updated_at":"2024-11-03T15:21:48.000Z","dependencies_parsed_at":"2024-01-10T21:59:33.629Z","dependency_job_id":"0e2be4eb-ef27-43ab-b6c4-b825e8e996dc","html_url":"https://github.com/akshay-rajan/numericalmethods","commit_stats":null,"previous_names":["akshay-rajan/numericalmethods"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akshay-rajan/numericalmethods","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshay-rajan%2Fnumericalmethods","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshay-rajan%2Fnumericalmethods/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshay-rajan%2Fnumericalmethods/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshay-rajan%2Fnumericalmethods/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akshay-rajan","download_url":"https://codeload.github.com/akshay-rajan/numericalmethods/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akshay-rajan%2Fnumericalmethods/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265454022,"owners_count":23768254,"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":["differential-equations","equation-solver","interpolation","mathematical-programming","numerical-analysis","numerical-methods","python"],"created_at":"2024-11-10T01:39:50.833Z","updated_at":"2025-07-15T19:19:03.628Z","avatar_url":"https://github.com/akshay-rajan.png","language":"TeX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Implementing Numerical Methods using Python\n\n## Introduction\n\nNumerical Analysis is the study of algorithms that use numerical approximations for mathematical problems. In numerical analysis, a numerical method is a mathematical tool designed to solve such problems. They attempt at finding approximate solutions to mathematical problems rather than exact ones. We use them at places where it is difficult or impossible to use traditional mathematical methods (for example, finding roots of a polynomial of degree greater than 4). Numerical analysis finds application in all fields of engineering, physical sciences, life and social sciences, medicine, business etc. Current growth in computing power has enabled the use of more complex numerical methods, providing detailed and realistic mathematical models in science and engineering. The implementation of a numerical method with an appropriate convergence check is called a numerical algorithm.\n\nThis is an attempt at discussing some common numerical methods and their implementation using  Python. Python is an interpreted, object-oriented, high-level programming language with dynamic semantics develop ed by Guido van Rossum in 1991. Python is a beginner-friendly, most widely used introductory language due to its high compatibility and simple syntax. Moreover, Python's math specific modules like NumPy, SciPy and Matplotlib makes it one of the best choices for numerical programming.\n\nIn the first chapter, we discuss how to find the solutions of algebraic and transcendental equations using numerical methods like bisection, iteration and Newton-Raphson method, and find the roots of equations, implementing all three methods using Python. In chapter two, we talk about the solution to differential equations using Picard's method, Euler's method and Runge-Kutta Methods. Solving an Initial Value Problem using Python program for Euler's method and Runge-Kutta method is also discussed. Finally, we introduce interpolation using Newton's formulae and Central Difference Interpolation formulae in chapter 3, including simple interpolations using Newton's Forward Difference Formula and Gauss' Forward Formula in Python.\n\n\n\n## 1. Algebraic and Transcendental Equations\n\n1. [Bisection Method](bisection.py)\n2. [Iteration Method](iteration.py)\n3. [Newton-Raphson Method](newtonraphson.py)\n\n## 2. Ordinary Differential Equations\n\n1. Picard's method of Successive Approximations\n2. [Euler's Method](eulers.py)\n3. [Runge-Kutta Methods](rungekutta.py)\n\n## 3. Interpolation\n\n1. Newton's Formulae for Interpolation\n2. Central Difference Interpolation Formula\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshay-rajan%2Fnumericalmethods","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakshay-rajan%2Fnumericalmethods","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakshay-rajan%2Fnumericalmethods/lists"}