up
PDF

Examples solving an ODE using finite elements method. Mathematica and Matlab implementation and animation

Nasser M. Abbasi

Sept 28,2006 page compiled on August 19, 2015 at 5:27am

This report is a basic review of weighted residual methods and FEM. Some basic differential equations are used to illustrate the method. Mathematica and Matlab code written to solve numerically a first and second order ODE using FEM.

1 report

1.
HTML
2.
PDF

2 Animation

First order ODE (generated by Mathematica)

1.
one
2.
two
3.
three
4.
four

Mathematica notebook which solves first order by FEM. notebook

second order ODE animation (generated by Matlab) animation

Matlab driver file This file sets up the call to do FEM and the animation

Matlab function to solve ODE using FEM This file does FEM solution on general second order ODE