Problem 44660. Perimeter of a semicircle
Solution Stats
Problem Comments
-
3 Comments
David Verrelli
on 14 Jun 2018
Hello, Srishti Saha. It is generally not recommended to demonstrate the solution formula within the Test Suite; it would be better to just specify the numerical values for the "correct" answers in the Test Suite. See also Problem 44631 for more discussion. —DIV
Neha Shaah
on 29 Jul 2021
2nd test suite is flawed, It should allow for precision errors.
Also test suites have formulae , not recommend to have that.
goc3
on 3 Aug 2021
The test suite has been improved.
Solution Comments
-
1 Comment
David Verrelli
on 14 Jun 2018
Test Suite flawed: should account for inherent imprecision of floating-point numbers.
Problem Recent Solvers832
Suggested Problems
-
Longest run of consecutive numbers
4110 Solvers
-
497 Solvers
-
409 Solvers
-
252 Solvers
-
Double all elements in the array
718 Solvers
More from this Author29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!