suppose that each of the four edges of a thin metal plate is maintained at a constant temperature and that we wish to detrmine the steady state temperature at each interior point . to do this we divide the plate to squares the corners of which are called nodes. and find the temperature at each interior node by averaging the four neighboring temperatures that is if T(ij) denotes the old temp at the node in i ro and j coloumn.
the Eqn. is ( T(i-j) +T(ij-1) + T(ij+1) + T(i+j) )/4
< the i and j are the indexes>
we use a two deminsional array each array element represents the temp at each node
they want a program that reads the temps along the four edges , and use these values to initialize the array.
and then averaging the temp at each node from its four neighboirous then print the array elemnts.
plzzzzzzzzz sombody help me with this ASAP cuz it makes me mad as hell not be able to solve any problem cuz i dont understand the question.
thnx everybody fo ur responses =>