Cody

Solution 746454

Submitted on 25 Sep 2015 by Jean-Marie Sainthillier
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
%% a = 8; b = 3; y_correct = 1421.2296; assert(isequal(torus_volm(a,b),y_correct))

y = 1.4212e+03

2   Pass
%% a = 6; b = 2; y_correct = 473.7432; assert(isequal(torus_volm(a,b),y_correct))

y = 473.7432