Cody

# Problem 433. jogging?

Solution 2699663

Submitted on 16 Jul 2020 by Rafael S.T. Vieira
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
d = 4; r = 1; s = 1; degrees_correct = 60; degrees = round(jogging(d,r,s)); assert(degrees==degrees_correct)

2   Pass
d = 5; r = 1; s = 1; degrees_correct = 66; degrees = round(jogging(d,r,s)); assert(degrees==degrees_correct)

3   Pass
d = 6; r = 1; s = 1; degrees_correct = 71; degrees = round(jogging(d,r,s)); assert(degrees==degrees_correct)

4   Pass
d = 7; r = 1; s = 1; degrees_correct = 73; degrees = round(jogging(d,r,s)); assert(degrees==degrees_correct)

5   Pass
d = 8; r = 1; s = 1; degrees_correct = 76; degrees = round(jogging(d,r,s)); assert(degrees==degrees_correct)

6   Pass
d = 7; r = 1; s = 2; degrees_correct = 55; degrees = round(jogging(d,r,s)); assert(degrees==degrees_correct)

### Community Treasure Hunt

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

Start Hunting!