Problem 45468. Determine the perimeter of a three-quarter circle

Solution 2237185

Submitted on 26 Apr 2020 by Binbin Qi
  • Size: 10
  • This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

This solution is outdated. To rescore this solution, sign in.

Test Suite

Test Status Code Input and Output
1   Pass
x = 2; y_correct =6.712388980384690; assert(isequal(circle_diameter(x),y_correct))

2   Pass
x = 5.5; y_correct =18.459069696057895; assert(isequal(circle_diameter(x),y_correct))

Suggested Problems

More from this Author5

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!