Method: Tasks::Task.task_16
- Defined in:
- lib/tasks.rb
.task_16(circumference:) ⇒ Object
104 105 106 107 |
# File 'lib/tasks.rb', line 104 def task_16(circumference:) result = Math::PI * Math.sqrt(circumference / (2 * Math::PI)) { Square: result.round(2) } end |