This repository contains the lab test project for the Numerical Method course (CSE2232). The project consists of several Java files that implement various numerical methods commonly used in scientific and engineering calculations.
Numerical methods play a crucial role in approximating solutions to mathematical problems that cannot be solved analytically. This lab test project provides Java implementations of various numerical methods, making it a valuable resource for students and practitioners studying numerical analysis.
The project includes the following numerical methods:
- Bisection Method (Bisection.java)
- False Position Method (FalsePosition.java)
- Forward Interpolation (ForwardInterpolation.java)
- Function Interface (Function.java)
- Gauss Elimination Method (GaussElimination.java)
- Gauss-Jordan Method (GaussJordan.java)
- Lagrange Interpolation (LagrangeInterpolation.java)
- Least Squares Method (LeastSquare.java)
- Newton-Raphson Method (NewtonRaphson.java)
- Newton's Divided Difference Method (NewtonsDividedDifference.java)
- Point Class (Point.java)
- Secant Method (Secant.java)
- Simpson's Rule (Simpson.java)
- Trapezoidal Rule (Trapezoidal_1.java, Trapezoidal_2.java)
Each class corresponds to a specific numerical method and can be used independently or in combination with others.
To use this project, you'll need Java Development Kit (JDK) installed on your system.
- Clone this repository to your local machine using the following command:
git clone https://github.com/mdhasnainali/CSE2232-Numerical-Method-Lab.git
-
Open your favorite Java IDE (e.g., Eclipse, IntelliJ) and import the project.
-
Explore the different Java files representing individual numerical methods.
-
Run the
Main.java
class to execute a simple demonstration of each implemented method.
Contributions are welcome and encouraged! If you have suggestions for improvement, bug fixes, or additional numerical methods to add, feel free to submit a pull request. Please follow the standard coding practices and keep the code clean and well-documented.
If you find any issues or want to request a new feature, you can do so by opening an issue in this repository.
This project is licensed under the MIT License. Feel free to use, modify, and distribute the code for educational and commercial purposes.