Skip to content

Opening book details…

About this document

Runge-Kutta Code for 2nd Order Equations by rockinsky91 is a document available to read on EtoBox.

This document describes using the Runge-Kutta method to solve a second order differential equation. It initializes values for x1 and x2, sets the time step dt, then loops to calculate updated values for x1 and x2 at each time step using the Runge-Kutta method. Finally, it plots the solution for x1 over time.

Author
rockinsky91
Language
EN