Problem 45178. An n-sided regular polygon is drawn within a circle whose radius is 'r', what will be the area of the polygon?
62.71% Correct | 37.29% Incorrect
Last Solution submitted on Mar 05, 2023
Show 1 older comment
Rafael S.T. Vieira on 5 Sep 2020
This problem needs to have some tolerance to error.
goc3 on 29 Sep 2020
The test suite now contains a tolerance, as well as added test cases, while no longer revealing the solution.
Ramon Villamangca on 25 Dec 2021
Error Message: Unrecognized function or variable 'tolerance'.
Dyuman Joshi on 25 Dec 2021
Test suite has been corrected.
Problem Recent Solvers32
Project Euler: Problem 10, Sum of Primes
Back to basics 4 - Search Path
Sum of first n terms of a harmonic progression
convert matrix to single column
Element-wise vector product (★)
More from this Author165
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!