A web-based application for solving Ordinary Differential Equations (ODEs) using numerical methods. The application supports first-, second-, third-, and fourth-order ordinary differential equations and provides accurate numerical approximations, graphical visualization, solution tables, and Excel export.
Application:
https://ode-solver-frontend.onrender.com
Backend API:
https://ode-solver-webapp.onrender.com
- Solve first-, second-, third-, and fourth-order ordinary differential equations.
- Supports the following numerical methods:
- Euler Method
- Improved Euler (Heun) Method
- Fourth-Order Runge-Kutta (RK4)
- Compare All Methods
- Interactive solution graphs.
- Numerical solution tables.
- Export computed solutions to Microsoft Excel (.xlsx).
- Mathematical equation preview using LaTeX.
- Built-in guide for supported mathematical functions.
- Responsive design for desktop, tablet, and mobile devices.
- Professional input validation and user-friendly error messages.
The solver accepts the following mathematical functions and constants:
| Function | Example |
|---|---|
| Sine | sin(x) |
| Cosine | cos(x) |
| Tangent | tan(x) |
| Exponential | exp(x) |
| Natural Logarithm | log(x) |
| Square Root | sqrt(x) |
| Absolute Value | abs(x) |
| Pi | pi |
- React.js
- React Router
- Plotly.js
- KaTeX
- XLSX
- CSS3
- Node.js
- Express.js
- Python
- SymPy
The application implements the following numerical techniques:
- Euler Method
- Improved Euler (Heun) Method
- Fourth-Order Runge-Kutta (RK4)
These methods allow users to compare numerical approximations and evaluate the accuracy of different solution techniques.
git clone https://github.com/YamikaniWilliams/ode-solver-webapp.gitcd frontend
npm install
npm startcd backend
npm install
pip install -r requirements.txt
npm start- Select the order of the differential equation.
- Enter the right-hand side function
f(x, y, y′, y″, …, y⁽ⁿ⁻¹⁾). - Enter the initial conditions.
- Specify the initial value of x, the final value of x, and the step size.
- Choose a numerical method.
- Click Compute Solution.
- View the graph and numerical solution table.
- Download the computed solution as an Excel file if required.
ode-solver/
│
├── frontend/
│ ├── public/
│ ├── src/
│ └── package.json
│
├── backend/
│ ├── routes/
│ ├── services/
│ ├── parser.py
│ ├── solver.py
│ ├── server.js
│ ├── requirements.txt
│ └── package.json
│
├── LICENSE
└── README.md
Planned enhancements include:
- Systems of ordinary differential equations.
- Analytical (exact) solution support.
- Error analysis and convergence comparison.
- Dark mode.
Yamikani Williams
Email: odesolverapp@gmail.com
GitHub: https://github.com/YamikaniWilliams
This project is licensed under the MIT License. See the LICENSE file for details.