- #1
mmmboh
- 407
- 0
So, I do not think I did this properly, but if f(-x)=-f(x), then u(-x,0)=-u(x,0), and if g(-x)=-g(x), then ut(-x,0)=-ut(x,0).
According to D`Alambert`s formula,
u(x,t)=[f(x+t)+f(x-t)]/2 + 0.5∫g(s)ds (from x-t to x+t)
so, u(0,t)=[f(t)+f(-t)]/2 + 0.5∫g(s)ds (from -t to t)
f is odd, and so is g, so the equation ends up giving zero, as required. But I don`t think that`s what we have to do. How do do I extend the initial conditions so that f(-x)=-f(x)? and the same for g(x). I know how to create an odd function, I can just let h(x)=xf(x2), then h(-x)=-h(x), but I`m not sure what I`m suppose to do.