GithubHelp home page GithubHelp logo

mark-nawar / differential-equation-solver Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 8 KB

Using Runge-Kuttah algorithm to solve a wide variety of differential equations

Python 100.00%
differential-equations runge-kuttah-algorithm accuracy

differential-equation-solver's Introduction

Differential-equation-solver

Using Runge-Kuttah algorithm to solve a wide variety of differential equations

Numerical 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 runge

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

e1

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.