Given the diameter d, find the perimeter of a semicircle
Solution Stats
Problem Comments
3 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers2171
Suggested Problems
-
901 Solvers
-
Flip the main diagonal of a matrix
905 Solvers
-
Return the first and last characters of a character array
11874 Solvers
-
Rounding off numbers to n decimals
5526 Solvers
-
1067 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.