{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

# hw5 - boundaries the same Run enough iterations until the...

This preview shows page 1. Sign up to view the full content.

ENGR 8102: C OMPUTATIONAL E NGINEERING Problem Set 5 (due on Wednesday in my mailbox by 4pm, 10/20) Questions: 1. (7 pts.) Modify the code laplace.m given in class, to feature a 10x10 grid (including boundaries), instead of 5x5. Replace the zero boundary with the last two non-zero digits of your uga-ID 1 , keep the other boundaries the same. Plot the temperature distribution and isothermal lines. Include a copy of your code, the temperature distribution matrix, and the graphs along with your solution. Submit a soft copy of your code to [email protected] 2. (7 pts.) Modify the code gauss_seidel.m to feature a 10x10 grid (including boundaries) instead of 5x5. Replace the zero boundary with the last two non-zero digits of your uga-ID, keep the other
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: boundaries the same. Run enough iterations until the absolute value of the difference between com-ponentwise temperature distribution difference between (1) and (2) is bounded above by 1 × 10-2 . Plot the temperature distribution and isothermal lines. Include a copy of your code, the temperature distribution matrix, difference of temperature distributions (between Laplace and Gauss-Seidel), and the graphs along with your solution. Submit a soft copy of your code to [email protected] . 1 Use XY if your UGA ID is 810-??-UVXY. If Y=0, then use VX. If X=Y=0, then use UV, etc. 1...
View Full Document

{[ snackBarMessage ]}