(adsbygoogle = window.adsbygoogle || []).push({}); 1. The problem statement, all variables and given/known data

[t]=-U+k[xx] u(x,0)=U(L,0)=0 u(x,0)sin(pix/L)

Write down difference equations for the approximate solution of this problem using the following methods:

1)forward difference

2)backward difference

3)crank nicholson

2. Relevant equations

I can do part 3, but i am stuck on the first two methods. I can find an exppression for the partial derivative of t, but the second derivative using the forward difference from a taylor approximation is 0 isnt it?

F(x+dx,t)=f(x,t)+[f][x](x,t)dx+[f][xx](x,t)(dx)^2

which if u solve for f''=0

3. The attempt at a solution

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Numerical approximation: Forward diffrerence method

**Physics Forums | Science Articles, Homework Help, Discussion**