https://github.com/mark-nawar/differential-equation-solver
Using Runge-Kuttah algorithm to solve a wide variety of differential equations
https://github.com/mark-nawar/differential-equation-solver
accuracy differential-equations runge-kuttah-algorithm
Last synced: 6 months ago
JSON representation
Using Runge-Kuttah algorithm to solve a wide variety of differential equations
- Host: GitHub
- URL: https://github.com/mark-nawar/differential-equation-solver
- Owner: Mark-Nawar
- Created: 2020-08-26T13:42:06.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-08-26T14:40:19.000Z (about 5 years ago)
- Last Synced: 2025-02-09T19:56:57.865Z (8 months ago)
- Topics: accuracy, differential-equations, runge-kuttah-algorithm
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Differential-equation-solver
Using Runge-Kuttah algorithm to solve a wide variety of differential equationsNumerical techniques are clever algorithms created by clever SCIENSTISTS to solve differnt topics in maths but this is just part of the story as this algorithms could go into complex loops where
precision and accuracy are essential if we want results close to the ones from the classical analytical methods and that is what computers are all about solving stuff fast and in magical accuracy. So in this mini project I will use Python's Tkintrer library to implemnt such algorithm into living scripts.bellow is a screen shot from the basic UI
the follwing script is capable to solve three types of DE numerically
given for example the following DE y'= xy + x^2 with inital conditions x0 = 0 and y0 = 1. We input the x-variable we need its y-variable this way:
for this example we will be checking the y fo x-value= 0.1 then click execute
the same thing goes with cases 2 and 3
IMPORTANT NOTES
F(x,y) in case 1 is the y' being the subject of the DE
f(x,y,z) in case 2 is the y'' being the subject of the DE and z being y' and z0 is y' intial comdition.
Case 3 is solving two DE where Y' is the first and Z' is the second