Tag: runge kutta matlab code

  • Runge kutta Matlab code

    Runge kutta Matlab code

    This is an exercise which is solved just for the purpose of comparing two numeral methods and see which one of them is more accurate. Here we will be using Matlab to solve the equations with two different methods, which are: Second order Runge Kutta method and the inbuilt matlab function ode45 (which is by […]

  • Euler VS Runge kutta – Circle – Matlab code

    Euler VS Runge kutta – Circle – Matlab code

    In the context of this exercise, lets suppose having the two dependent following function: With initial conditions The equation of a circle look like the following where the r is a constant. If we add our equations at 0, the following will be true We are now going to be using Euler methods and the […]