Problem 2377. Area of a disk
Find the area of a disk or circle.
x= radius of the disk.
Solution Stats
Problem Comments
-
6 Comments
Show
3 older comments
Akansha Saxena
on 7 Dec 2015
"pi" works, but currently, solution needs to be rounded off to 2 decimal places.
Would be better to increase the result tolerance.
Michael Eldredge
on 2 Apr 2019
The numbers are wrong.
Please fix the test suite.
MAHMOUD ABDEL-LATIF
on 11 Jun 2019
You need to specify that the answer must be rounded to 2 decimal places.
Solution Comments
Show commentsProblem Recent Solvers358
Suggested Problems
-
Duplicate each element of a vector.
616 Solvers
-
Side of an equilateral triangle
6363 Solvers
-
Sum the 'edge' values of a matrix
360 Solvers
-
739 Solvers
-
Cumulative product of a vector
285 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!