Git Product home page Git Product logo

rkf45-runge_kutta_3_order's Introduction

RKF45-Runge_Kutta_3_order

the program solves a system of differential equations

$\displaystyle\frac{\mathrm d x_1}{\mathrm d t} = -14x_1 + 13x_2 + cos(1 + t); \quad \frac{\mathrm d x_2}{\mathrm d t} = 20x_1 - 30x_2 + arctg(1 + t^2)$

$x_1(0) = 2, \quad x_2(0) = 0.5, \quad t \in [0; 1.5]$;

in $h_{print} = 0.075$ according to the RKF45 program with $EPS = 0.001$ and the order 3 Runge-Kutta method

$z_{n+1} = z_n + \displaystyle\frac{2k_1 + 3k_2 + 4k_3}{9}, \quad k_1 = hf(t_n, z_n), \quad k_2 = hf(t_n + \displaystyle\frac{h}{2}, z_n + \displaystyle\frac{k_1}{2}), \quad k_3 = hf(t_n + \displaystyle\frac{3h}{4}, z_n + \displaystyle\frac{3k_2}{4})$

in $h_{int} = 0.075$ and $h_{int} = 0.00075$

The first step gives a qualitatively incorrect solution, since it does not satisfy the stability condition

Forsythe.h is a librarian program

rkf45-runge_kutta_3_order's People

Contributors

vovandreevik avatar

Stargazers

 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.