Assignment 7 solutions

# 25 5 75 1 0 25 5 75 0 25 5 0 25 0 0 0 0 0 0 25 25

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

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: it triangle T using Persson’s code with h = 0.25. The mesh information is in the lists p, t, and b (boundary nodes) : 15 nodes, 16 triangles, 12 boundary nodes (nodes numbered by rows). 1 15 (0, 1) 16 .75 13 (0, .75) 14 13 .5 10 (0, .5) 9 8 .25 6 (0, .25) 2 1 1 (0, 0) 0 .25 3 2 (.25, 0) .5 10 7 (.25, .25) 4 5 3 (.5, 0) .75 15 11 (.25, .5) 11 12 8 (.5, .25) 6 7 4 (.75, 0) 1 5 (1, 0) 9 (.75, .25) 12 (.5, .5) 14 (.25, .75) 2 � � � � � � � � � � � � � p=� � � � � � � � � � � � contourf(xx,yy,zz); ⎤ 0 .25 .5 .75 1 0 .25 .5 .75 0 .25 .5 0 .25 0 0 0 0 0 0 .25 .25 .25 .25 .5 .5 .5 .75 .75 1 ⎜ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎡ ⎢ 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 � � � � � � � � � �...
View Full Document

## This note was uploaded on 04/12/2011 for the course MATH 18.085 taught by Professor Staff during the Fall '10 term at MIT.

Ask a homework question - tutors are online