Given the diameter d, find the perimeter of a semicircle
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers2294
Suggested Problems
-
Return the largest number that is adjacent to a zero
5527 Solvers
-
4860 Solvers
-
910 Solvers
-
Arrange vector in ascending order
822 Solvers
-
Replace multiples of 5 with NaN
470 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!
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
2nd test suite is flawed, It should allow for precision errors.
Also test suites have formulae , not recommend to have that.
The test suite has been improved.