Problem 42901. Free-time Equation

Solution 1474374

Submitted on 29 Mar 2018 by bainhome
  • 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
nc = 5; ta = 12; tc = 3; tw = 35; f_correct = 34; assert(isequal(freeTime(nc,ta,tc,tw),f_correct))

Suggested Problems

Community Treasure Hunt

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

Start Hunting!