Write your question here.
I have a project for school and the teacher gave us an old book, in which is the program needed is: Elliptic equations. Finite difference method.I tried to write the code in c++ from that old language. I expect it to be with errors. The problem is that I am a begginer and I tried to look on the internet but I can't find a method in c++ that I understand.
I don't know how to write the functions.
Example: u-ecuation solution
d^2u/dx^2+d^2u/dy^2=4;
u(0,y)=y^2;
u(1,y)=1+y^2;
u(x,0)=x^2;
u(x,1)=x^2+1;
h=k=1/4;
It would be a great help if someone can tell me what is missing.