I tried to solve laplace equation for the steady state temperature over a rectangle with both neumann and dirichlet boundary conditions.(adsbygoogle = window.adsbygoogle || []).push({});

For the part of the rectangle with neumann boundary condition(normal derivative = 0) i used

U(k,p)=(2*U(k+1,p)+U(k,p+1)+U(k,p-1))/4

Is this correct?

The result i get is different from when i use Matlab PDE toolbox...and i think im doing something wrong with the neumann boundary condition.

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

Dismiss Notice

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: Neumann boundary with finite differences

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