Hello,
I've got to illustrate, in Matlab, string movement with the d'Alembert's formula, when t is in the interval [0,18]. Here is the task:
\(\displaystyle u_{tt} = u_{xx}, \;\ 0 < x < 9, \;\ t > 0\)
\(\displaystyle u_{x}(0,t) = 0, \;\ t > 0\)
\(\displaystyle u_{x}(9,t) = 0, \;\ t > 0\)
\(\displaystyle u(x,0) = 0, \;\ 0 < x < 9\)
\(\displaystyle u_{t}(x,0)=\left\{\begin{array}{cc}xsin(\pi x), \;\ 2\leq x\leq 4\\ \;\ \;\ 0, \;\ \;\ 0<x<2, \;\ 4<x<9\end{array}\)
Could you help me, please?
I've got to illustrate, in Matlab, string movement with the d'Alembert's formula, when t is in the interval [0,18]. Here is the task:
\(\displaystyle u_{tt} = u_{xx}, \;\ 0 < x < 9, \;\ t > 0\)
\(\displaystyle u_{x}(0,t) = 0, \;\ t > 0\)
\(\displaystyle u_{x}(9,t) = 0, \;\ t > 0\)
\(\displaystyle u(x,0) = 0, \;\ 0 < x < 9\)
\(\displaystyle u_{t}(x,0)=\left\{\begin{array}{cc}xsin(\pi x), \;\ 2\leq x\leq 4\\ \;\ \;\ 0, \;\ \;\ 0<x<2, \;\ 4<x<9\end{array}\)
Could you help me, please?