Cody

# Problem 1442. Volume of a Simplex

Solution 1165062

Submitted on 18 Apr 2017
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   Fail
n = 0; V_correct = 1.0; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

2   Fail
n = 1; V_correct = 1.0; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

3   Fail
n = 2; V_correct = 0.433012701892219; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

4   Fail
n = 3; V_correct = 0.117851130197758; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

5   Fail
n = 4; V_correct = 0.023292374765623; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

6   Fail
n = 5; V_correct = 0.003608439182435; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

7   Fail
n = 6; V_correct = 0.000459331824838; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

8   Fail
n = 7; V_correct = 0.000049603174603; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

9   Fail
n = 8; V_correct = 0.000004650297619; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

10   Fail
n = 9; V_correct = 0.000000385125244; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

11   Fail
n = 10; V_correct = 0.000000028561653; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

12   Fail
n = 11; V_correct = 0.000000001917653; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

13   Fail
n = 12; V_correct = 0.000000000117613; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

14   Fail
n = 13; V_correct = 0.000000000006639; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

15   Fail
n = 14; V_correct = 0.000000000000347; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.

16   Fail
n = 15; V_correct = 0.000000000000017; assert(abs(simplexvolume(n)-V_correct)<4*eps)

Error in solution Line: 2 Column: 99 Unbalanced or unexpected parenthesis or bracket.