Real-World Application
Maps use coordinate grids to show locations! Each location has a unique address (x, y).
How to Read a Grid Map:
- Find the horizontal position (column) = x-coordinate
- Find the vertical position (row) = y-coordinate
- Read as (x, y)
Grid Map Example:
y=5 │ │ │ │ │ │
y=4 │ │ 🏠│ │🏪│ │
y=3 │ │ │ │ │ │
y=2 │🏫│ │ │ │🏥│
y=1 │ │ │ │ │ │
└───┴───┴───┴───┴───┘
x=1 x=2 x=3 x=4 x=5
House (🏠) is at (2, 4)
School (🏫) is at (1, 2)
Store (🏪) is at (4, 4)
Hospital (🏥) is at (5, 2)