Cody

Problem 1693. Calculate distance travelled when given radius and rotations

Solution 271079

Submitted on 2 Jul 2013 by Jan Orwat
  • Size: 8
  • 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.

Test Suite

Test Status Code Input and Output
1   Pass
%% r = 1; n = 1; y_correct = 6.28; assert(isequal(calci_dist(r,n),y_correct))

Suggested Problems

More from this Author10

Community Treasure Hunt

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

Start Hunting!