Edit:
I am trying to solve $$\frac{\partial u}{\partial t}+u\frac{\partial u}{\partial x}=\nu\frac{\partial^{2}u}{\partial x^{2}}\\ u(0,t)=0\nonumber \\ u(1,t)=0\nonumber \\ u(x,0)=\sin(\pi x)\\ 0<x<1,\; t>0$$ I take $u_n(x,t)$ as an approximation to $u(x,t)$ $$u_{n}(x,t)=\sum_{n=-4}^{2^j-1}\phi_{n}(x)c_{n}(t),\quad j\in \mathbb{N}$$ Here $\phi_n(x)$ are basis functions and i need to find the coeffiicients $c_n$. If i take the weight functions as $\phi_k(x)$ then weighted integral form of my problem will be as follows:
$$\int_{0}^{1}\phi_{k}(x)\sum_{n}\phi_{n}(x)c_{n}^{'}(t)dx+\int_{0}^{1}\phi_{k}(x)\left(\sum_{n}\phi_{n}(x)c_{n}(t)\right)\left(\sum_{l}\phi'_{l}(x)c_{l}(t)\right)dx\\-\int_{0}^{1}\phi_{k}(x)\nu\sum_{n}\phi''_{n}(x)c_{n}(t)dx=0$$ Now, set $$\delta_{k,n}=\int_{0}^{1}\phi_{k}\phi_{n}dx,\quad\Omega_{k,n}^{0,2}=\int_{0}^{1}\phi_{k}\phi''_{n},\quad\Omega_{k,n,l}^{0,0,1}=\int_{0}^{1}\phi_{k}\phi_{n}\phi'_{l}dx$$ Therefore discretized version of my problem becomes. $$\sum_{n=-4}^{0}c'_{n}(t)\delta_{k,n}+\sum_{n=-4}^{0}c_{n}(t)\sum_{l=-4}^{0}c_{l}(t)\Omega_{k,n,l}^{0,0,1}-\nu\sum_{n=-4}^{0}c_{n}(t)\Omega_{k,n}^{0,2}=0$$ $$\left\{ \mathbf{c}_{n}'(t)\right\} \left[\delta_{k,n}\right]+\left\{ \mathbf{c}_{n}(t)\right\} \left[\mathbf{c}_{l}(t)\Omega_{k,n,l}^{0,0,1}\right]-\nu\left\{ \mathbf{c}_{n}(t)\right\} \left[\Omega_{k,n}^{0,2}\right]=0\\ $$ Here i know the values of $\delta_{k,n}$, $\Omega_{k,n,l}^{0,0,1}$, $\Omega_{k,n}^{0,2}$ and $\nu$. Also $-4 \leq k,n,l \leq 2^j-1$. Approximating $c'_{n}(t),c_{n}(t)$ by $$c'_{n}(t)=\frac{c_{n}^{i+1}-c_{n}^{i}}{h}$$ $$c_{n}(t)=\frac{c_{n}^{i+1}+c_{n}^{i}}{2}$$ I get $$\mathbf c_{n}^{i+1}\left(\frac{\delta_{k,n}}{h}+\frac{\mathbf c_{l}\Omega_{k,n,l}^{0,0,1}}{2}-\nu\frac{\Omega_{k,n}^{0,2}}{2}\right)=\mathbf c_{n}^{i}\left(\frac{\delta_{k,n}}{h}-\frac{\mathbf c_{l}\Omega_{k,n,l}^{0,0,1}}{2}+\nu\frac{\Omega_{k,n}^{0,2}}{2}\right)$$ I know $c_n^i$ for $i=1$ from initial condition and i want to find $c_{n}^{i+1}$
If $c_l$ not get into the job i could find the $c_n$. But i am confused with $c_l$.