Solving an ODE using Galerkin's method

  • Thread starter Thread starter Breuno
  • Start date Start date
  • Tags Tags
    Method Ode
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
Breuno
Messages
4
Reaction score
0

Homework Statement


Given the ODE [tex]\frac{df}{dt}=f[/tex] and the boundary condition [tex]f(0)=1[/tex]

One approximate solution is [tex]f_{a}=1+\sum ^{3}_{k=1} a_{k}t^k[/tex] where [tex]0\leq t\leq1[/tex]

Using the Galerkin's method find the coeficents [tex]a_{k}[/tex]

Homework Equations





The Attempt at a Solution


I don't think I've understood how to use the method really. So if someone could explain it briefly. Another thing that is mentioned in the book is that the basis funktions are not orthogonal on this interval. So that can not be imposed

Thanks
/Simon
 
Physics news on Phys.org
You can take the derivative of the general (approximate) solution and plug in the equation.
Then equate the terms with the same power of t and you'll get 3 simple equations that will give you the three coefficients a1, a2, a3.