Cody

Problem 1693. Calculate distance travelled when given radius and rotations

Solution 1567832

Submitted on 23 Jun 2018 by Srishti Saha
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))

ans = 6.2800

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!