Skip to content

Visualises approximation of differential equations using different Runge-Kutta Methods

Notifications You must be signed in to change notification settings

SarthakHa/DEQ-visualization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEQ-visualization

A visualizer to show how differential equations can be numerically approximated using different Runge-Kutta numerical methods.

Quick Start

View this react app on netlify by clicking on the badge below.

Netlify Status

Scroll down on the webpage to edit the function that is being approximated.

Here are the parameters and what they mean:

  • n = number of steps to take. Is used to calculate h (step size) as
  • x-initial = Initial value of x at starting point
  • y-initial = Initial value of y at starting point
  • x-final = point at which we are trying to estimate y
  • epsilon = the threshold at which step-size is recalculated AND y-value is recalculated, essentially the error threshold beyond which approximation is recomputed
  • Derivative function = this is the differential function that we are approximating

Supports:

  • Euler's method
  • Midpoint method
  • Runge-Kutta 3rd Order (RK3) method
  • Runge-Kutta 4th Order (RK4) method
  • Runge-Kutta-Fehlberg (RK45/RKF) method

Demo

Demo of different approximations Demo-DEQ.gif
Different methods available Screenshot-2021-11-30-at-11-33-13-AM.png

About

Visualises approximation of differential equations using different Runge-Kutta Methods

Resources

Stars

Watchers

Forks