{"id":23582489,"url":"https://github.com/md-emon-hasan/numerical-analysis","last_synced_at":"2026-02-12T05:08:15.562Z","repository":{"id":267831112,"uuid":"869965052","full_name":"Md-Emon-Hasan/Numerical-Analysis","owner":"Md-Emon-Hasan","description":"🔢 C-based algorithms and exercises focused on numerical methods, such as interpolation, differentiation, and aimed for equation solving.","archived":false,"fork":false,"pushed_at":"2024-12-17T17:47:28.000Z","size":141,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T01:11:56.814Z","etag":null,"topics":["bisection-method","false-position","fixed-point","newton-raphson","numerical-analysis","numerical-integration","numerical-methods"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Md-Emon-Hasan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-10-09T07:58:04.000Z","updated_at":"2024-12-17T17:47:33.000Z","dependencies_parsed_at":"2024-12-12T18:26:49.899Z","dependency_job_id":"b78b35d3-30da-4585-9eeb-d20eb0b9d115","html_url":"https://github.com/Md-Emon-Hasan/Numerical-Analysis","commit_stats":null,"previous_names":["md-emon-hasan/numerical-analysis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Md-Emon-Hasan%2FNumerical-Analysis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Md-Emon-Hasan%2FNumerical-Analysis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Md-Emon-Hasan%2FNumerical-Analysis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Md-Emon-Hasan%2FNumerical-Analysis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Md-Emon-Hasan","download_url":"https://codeload.github.com/Md-Emon-Hasan/Numerical-Analysis/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239399809,"owners_count":19632022,"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-method","false-position","fixed-point","newton-raphson","numerical-analysis","numerical-integration","numerical-methods"],"created_at":"2024-12-27T01:11:49.277Z","updated_at":"2026-02-12T05:08:15.537Z","avatar_url":"https://github.com/Md-Emon-Hasan.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"```markdown\n# 📊 Numerical Analysis using C and MATLAB\n\nWelcome to the **Numerical Analysis** repository! This project contains implementations of various **numerical analysis algorithms** in **C** and **MATLAB**. These methods are fundamental for solving numerical problems like root-finding, interpolation, differentiation, integration, and solving linear systems.\n\n---\n\n## 🚀 **Features**\n\n- ⚙️ Numerical methods implemented in **C** and **MATLAB**.\n- 🧮 Algorithms for:\n   - Root finding (e.g., Bisection, Newton-Raphson).\n   - Interpolation and polynomial approximations.\n   - Numerical integration and differentiation.\n   - Solving linear and non-linear systems.\n- 📈 MATLAB scripts for data visualization.\n- 💻 Optimized C programs for efficient computation.\n\n---\n\n## 🛠️ **Technologies Used**\n\n- **C Programming Language** (for performance and precision)\n- **MATLAB** (for visualization and high-level numerical computing)\n\n---\n\n## 💻 **Setup and Installation**\n\n### **C Programs**\n1. **Compile the programs** using a C compiler like `gcc`:\n   ```bash\n   gcc bisection_method.c -o bisection\n   ./bisection\n   ```\n2. Input the required parameters (equation, intervals, tolerance).\n\n### **MATLAB Scripts**\n1. Open the `.m` files in MATLAB or **MATLAB Online**.\n2. Run the scripts by pressing **Run** or typing in the Command Window:\n   ```matlab\n   bisection_method\n   ```\n\n---\n\n## 📚 **Algorithms Included**\n\n### **Root Finding**\n- Bisection Method\n- Newton-Raphson Method\n- Secant Method\n\n### **Interpolation**\n- Lagrange Interpolation\n- Newton's Divided Difference\n\n### **Numerical Integration**\n- Trapezoidal Rule\n- Simpson's 1/3 Rule\n\n### **Linear Systems**\n- Gaussian Elimination\n- LU Decomposition\n\n---\n\n## 📊 **Usage Examples**\n\n### **C Example: Bisection Method**\n\n```c\n#include \u003cstdio.h\u003e\n#include \u003cmath.h\u003e\n\ndouble func(double x) {\n    return x*x - 4; // Example function: x^2 - 4 = 0\n}\n\nint main() {\n    double a = 0, b = 3, tol = 0.001, c;\n\n    while ((b - a) \u003e= tol) {\n        c = (a + b) / 2;\n        if (func(c) == 0.0)\n            break;\n        else if (func(c) * func(a) \u003c 0)\n            b = c;\n        else\n            a = c;\n    }\n    printf(\"Root: %.5f\\n\", c);\n    return 0;\n}\n```\n\n### **MATLAB Example: Newton-Raphson Method**\n\n```matlab\nf = @(x) x^2 - 4;           % Function definition\ndf = @(x) 2*x;              % Derivative of the function\nx0 = 2;                     % Initial guess\ntol = 1e-6;                 % Tolerance\nmax_iter = 100;\n\nfor i = 1:max_iter\n    x1 = x0 - f(x0)/df(x0); % Newton-Raphson formula\n    if abs(x1 - x0) \u003c tol\n        fprintf('Root: %.5f\\n', x1);\n        break;\n    end\n    x0 = x1;\nend\n```\n\n---\n\n\n## 🤝 **Contributing**\n\nContributions are welcome! Follow these steps:\n\n1. Fork the repository.\n2. Clone your fork:\n   ```bash\n   git clone https://github.com/your-username/Numerical-Analysis.git\n   ```\n3. Create a new branch:\n   ```bash\n   git checkout -b feature-branch\n   ```\n4. Add your code and commit:\n   ```bash\n   git add .\n   git commit -m \"Add feature: feature description\"\n   ```\n5. Push the changes and create a pull request:\n   ```bash\n   git push origin feature-branch\n   ```\n\n---\n\n## 🌟 **License**\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more details.\n\n---\n\n## 📞 **Contact**\n\nFor any queries or suggestions, feel free to reach out:\n\n- **Md Emon Hasan**\n- 📧 Email: [iconiemon01@gmail.com](mailto:iconiemon01@gmail.com)\n- 🌐 GitHub: [Md-Emon-Hasan](https://github.com/Md-Emon-Hasan)\n\n---\n\n## ⭐ **Support**\n\nIf you find this repository helpful, give it a **⭐** and share it with your peers!\n\n---\n\nHappy Coding! 🎉\n```\n\n---\n\n### **Key Additions:**\n1. Updated **features** and structure for C and MATLAB.\n2. Added **C program** and **MATLAB script** examples for better understanding.\n3. Included **usage instructions** and **visualization placeholders**.\n4. A clear **folder structure** is outlined for easy navigation.\n\nLet me know if you'd like further customization! 🚀\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd-emon-hasan%2Fnumerical-analysis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmd-emon-hasan%2Fnumerical-analysis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmd-emon-hasan%2Fnumerical-analysis/lists"}