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 Solvers361
Suggested Problems
-
Create a cell array out of a struct
2199 Solvers
-
Number of 1s in a binary string
10104 Solvers
-
619 Solvers
-
Finding perimeter of a rectangle
476 Solvers
-
Solve a System of Linear Equations
13188 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!