Question: C++ programing, please don't handwrite out code Imagine a thin metal plate surrounded by neat sources along each edge, with the edges head at different

C++ programing, please don't handwrite out code
Imagine a thin metal plate surrounded by neat sources along each edge, with the edges head at different temperatures. After a short time, the temperature at each location on the plate will settle into a steady state This can be modeled by dividing the plate into a discrete grid of cells and simulating the change in temperature of each cell overtime: At each time step, the temperate in each interior cell will be the average of four of its surrounding neighbors: T(ij) = |T(i-lj) + T(i-lj| - T(ij-1) - T(i, j+1)/4 Develop a C++program to determine the steady state temperature distribution the plate by representing the plate as a two-dimensional array with NROWS rows and NCOLS columns. NROWS and NCOLS should be declared as global constants. Declare 2 separate two-dimensional arrays named temp and old. Array old will be used to maintain current values of the grid temperature and array temp will be used to compute the new values obtained at each successive time step using the equation above. Prompt the user and enter temperatures values for the top, bottom. left, right sides. Also prompt and enter an initial temperature T(i, j) for the interior cells. For this lab, you may initialize all the interior cells to a single, user-input temperature)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
