Cody

Problem 1693. Calculate distance travelled when given radius and rotations

Solution 2063918

Submitted on 19 Dec 2019 by Martin Thomas
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!