Hello,
I have some problems with the code in which I would like for the following formula:
g(i,j)=0.25*(p(i,j+1)+p(i,j-1)+p(i+1,j)+p(i-1,j))
to keep repeating itself until there is some very small difference between previous and current result. Then the iteration would stop and print the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.