Cody

Solution 720316

Submitted on 24 Aug 2015 by Gergely Patay
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))

ans = 1.4212e+03

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

ans = 473.7432