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 Solvers359
Suggested Problems
-
374 Solvers
-
Replace every 3rd element in a vector with 4
253 Solvers
-
303 Solvers
-
338 Solvers
-
Find the max element of the array
1738 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!