Cody

Solution 239084

Submitted on 2 May 2013
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
user_solution = fileread('simplexvolume.m'); assert(isempty(strfind(user_solution,'regexp'))); assert(isempty(strfind(user_solution,'2str'))); assert(isempty(strfind(user_solution,'str2'))); assert(isempty(strfind(user_solution,'interp'))); assert(isempty(strfind(user_solution,'printf'))); assert(isempty(strfind(user_solution,'assert')));
2   Fail
%% n = 0; V_correct = 1.0; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
3   Fail
%% n = 1; V_correct = 1.0; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
4   Fail
%% n = 2; V_correct = 0.433012701892219; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
5   Fail
%% n = 3; V_correct = 0.117851130197758; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
6   Fail
%% n = 4; V_correct = 0.023292374765623; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
7   Fail
%% n = 5; V_correct = 0.003608439182435; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
8   Fail
%% n = 6; V_correct = 0.000459331824838; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
9   Fail
%% n = 7; V_correct = 0.000049603174603; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
10   Fail
%% n = 8; V_correct = 0.000004650297619; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
11   Fail
%% n = 9; V_correct = 0.000000385125244; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
12   Fail
%% n = 10; V_correct = 0.000000028561653; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
13   Fail
%% n = 11; V_correct = 0.000000001917653; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
14   Fail
%% n = 12; V_correct = 0.000000000117613; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
15   Fail
%% n = 13; V_correct = 0.000000000006639; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
16   Fail
%% n = 14; V_correct = 0.000000000000347; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".
17   Fail
%% n = 15; V_correct = 0.000000000000017; assert(abs(simplexvolume(n)-V_correct)<4*eps)
Error: Output argument "V" (and maybe others) not assigned during call to "/users/msssystem16/simplexvolume.m>simplexvolume".