GithubHelp home page GithubHelp logo

kopinjol / numerical-methods Goto Github PK

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

Some numerical method codes I wrote to teach. They are written in Python 3 in Jupyter notebooks.

License: GNU General Public License v2.0

Jupyter Notebook 87.95% Python 12.05%

numerical-methods's Introduction

Numerical-MEthods

Some numerical method codes I wrote to teach. They are written in Python 3 in Jupyter notebooks. The two files EulerOde.py and driver.py consists of a very simple 1st order ODE solver using the Euler method. EulerOde.py is a module that has to be imported into any function using it. In this case the script driver.py imports the Module. One can specify the ODE by specifying the lambda function in the call to the constructor of data class. The plot method plots the calculated solution.

OdeSolver.py is a tiny class that can solve a first order differential equation with Euler and RK-2 method. After reading in the data with the store method, call whichever method you want to use, solve_euler for euler and solve_rk for RK-2 method.

numerical-methods's People

Contributors

kopinjol avatar

Watchers

 avatar

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.