Cody

Solution 218716

Submitted on 18 Mar 2013 by Khaled Hamed
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
%% x = 1; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 1
2   Pass
%% x = 2; tf_correct = false; assert(isequal(woodall(x),tf_correct))
ans = 1.2561
3   Pass
%% x = 3; tf_correct = false; assert(isequal(woodall(x),tf_correct))
ans = 1.4570
4   Pass
%% x = 7; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 2.0000
5   Pass
%% x = 23; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 3
6   Pass
%% x = 63; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 4
7   Pass
%% x = 159; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 5
8   Pass
%% x = 383; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 6
9   Pass
%% x = 895; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 7
10   Pass
%% x = 1000; tf_correct = false; assert(isequal(woodall(x),tf_correct))
ans = 7.1328
11   Pass
%% x = 2000; tf_correct = false; assert(isequal(woodall(x),tf_correct))
ans = 7.9716
12   Pass
%% x = 2047; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 8
13   Pass
%% x = 3000; tf_correct = false; assert(isequal(woodall(x),tf_correct))
ans = 8.4690
14   Pass
%% x = 3001; tf_correct = false; assert(isequal(woodall(x),tf_correct))
ans = 8.4694
15   Pass
%% x = 4607; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 9
16   Pass
%% x = 10239; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 10
17   Pass
%% x = 22527; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 11
18   Pass
%% x = 7516192767; tf_correct = true; assert(isequal(woodall(x),tf_correct))
ans = 28
19   Pass
%% x = 7516192766; tf_correct = false; assert(isequal(woodall(x),tf_correct))
ans = 28.0000