- #1
mathmari
Gold Member
MHB
- 5,049
- 7
Hey!
Having the problem:
$$v_t=v_{xx}, 0<x<1, t>0$$
$$v(0,t)=v_x(1,t)=0, t>0$$
$$v(x,0)=e^x-x$$
I have found that the solution of the problem is of the form
$$v(x,t)=\sum_{n=0}^{\infty}{A_n \sin{(\frac{(2n+1) \pi x}{2})} e^{-(\frac{(2n +1) \pi}{2})^2t}}$$
Using the boundary condition $v(x,0)=e^x-x$, we get the following:
$$\sum_{n=0}^{\infty}{A_n \sin{(\frac{(2n+1) \pi x}{2})}}=e^x-x$$
Can I calculate the coefficients $A_n$ by using the Fourier series of $e^x-x$ although there is 2n+1 in the $\sin$? (Wondering)
Having the problem:
$$v_t=v_{xx}, 0<x<1, t>0$$
$$v(0,t)=v_x(1,t)=0, t>0$$
$$v(x,0)=e^x-x$$
I have found that the solution of the problem is of the form
$$v(x,t)=\sum_{n=0}^{\infty}{A_n \sin{(\frac{(2n+1) \pi x}{2})} e^{-(\frac{(2n +1) \pi}{2})^2t}}$$
Using the boundary condition $v(x,0)=e^x-x$, we get the following:
$$\sum_{n=0}^{\infty}{A_n \sin{(\frac{(2n+1) \pi x}{2})}}=e^x-x$$
Can I calculate the coefficients $A_n$ by using the Fourier series of $e^x-x$ although there is 2n+1 in the $\sin$? (Wondering)