hi I am not getting correct results ,please help me to find out the code error.
I am sharing my code because this is non graded assignment.
{moderator edit - solution code removed}
output
thank you
hi I am not getting correct results ,please help me to find out the code error.
I am sharing my code because this is non graded assignment.
{moderator edit - solution code removed}
output
Notice that you use the same element of the caches
array for every timestep. That will not end well …
thank you sir ,got solution