Posts Tagged as ‘Ordinary Differential Equations’

October 20, 2009

How do I numerically solve an ODE in MATLAB?

The other day a student came to ask me for help in solving a second order ordinary differential equation using the ode45 routine of MATLAB.  To use ode45, one needs to be familiar with how the inputs are required by MATLAB.  The understanding of these inputs is important to use ode45 successfully in problems that [...]

May 25, 2009

How do I solve a boundary value ODE in MATLAB?

Many students ask me how do I do this or that in MATLAB.  So I thought why not have a small series of my next few blogs do that.  In this blog, I show you how to solve a boundary value ordinary differential equation.

The MATLAB program link is here.
The HTML version of the MATLAB program [...]

May 14, 2009

How do I solve an initial value ODE in MATLAB?

Many students ask me how do I do this or that in MATLAB.  So I thought why not have a small series of my next few blogs do that.  In this blog, I show you how to solve an initial value ordinary differential equation.

The MATLAB program link is here.
The HTML version of the [...]

August 4, 2008

A Matlab program for comparing Runge-Kutta methods

In a previous post, we compared the results from various 2nd order Runge-Kutta methods to solve a first order ordinary differential equation. In this post, I am posting the matlab program. It is better to download the program as single quotes in the pasted version do not translate properly when pasted into a [...]

July 25, 2008

Can I use numerical solution of ODE techniques to do numerical integration?

Yes.
If you are finding the value of the , then we can solve the integral as an ordinary differential equation as
dy/dx=f(x), y(a)=0
We can now use any of the numerical techniques such as Euler’s methods and Runge-Kutta methods to find the value of y(b) which would be the approximate value of the integral. Use [...]

July 3, 2008

Data for aluminum cylinder in iced water experiment

A colleague asked me what if he did not have time or resources to do the experiments that have been developed at University of South Florida (USF) for numerical methods. He asked if I could share the data taken at USF.
Why not – here is the data for the experiment where an aluminum cylinder [...]