Galerkin's method

We illustrate Galerkin's method for ODEs and PDEs with a Maple worksheet: