This document contains MATLAB code for solving partial differential equations numerically using various Runge-Kutta methods (RK2, RK4). It includes:
1) Code to set up the PDE problem, define matrices, and calculate numerical solutions over time steps for 1D and 2D cases.
2) Calculations of exact solutions to compare with numerical results.
3) Bisection searches to find the stability limits for different Runge-Kutta methods by finding the root of the stability function.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
71 views7 pages
(CC297) Série 04 - Fortunato Neto pt2
This document contains MATLAB code for solving partial differential equations numerically using various Runge-Kutta methods (RK2, RK4). It includes:
1) Code to set up the PDE problem, define matrices, and calculate numerical solutions over time steps for 1D and 2D cases.
2) Calculations of exact solutions to compare with numerical results.
3) Bisection searches to find the stability limits for different Runge-Kutta methods by finding the root of the stability function.