This problem is looking for the number of vertices on the hexagonal grid inside the circle of radius r. The center of the hexagon is not counted as a point for this problem, and this is true for every hexagon inside the circle.
Back to basics 12 - Input Arguments
525 Solvers
Sum of diagonal of a square matrix
1327 Solvers
724 Solvers
Create a Multiplication table matrix...
283 Solvers
Sum the numbers on the main diagonal
453 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!