Cody

Solution 2181474

Submitted on 30 Mar 2020
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
x = 1; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test1 (line 3) assert(isequal(woodall(x),tf_correct))

2   Fail
x = 2; tf_correct = false; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test2 (line 3) assert(isequal(woodall(x),tf_correct))

3   Fail
x = 3; tf_correct = false; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test3 (line 3) assert(isequal(woodall(x),tf_correct))

4   Fail
x = 7; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test4 (line 3) assert(isequal(woodall(x),tf_correct))

5   Fail
x = 23; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test5 (line 3) assert(isequal(woodall(x),tf_correct))

6   Fail
x = 63; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test6 (line 3) assert(isequal(woodall(x),tf_correct))

7   Fail
x = 159; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test7 (line 3) assert(isequal(woodall(x),tf_correct))

8   Fail
x = 383; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test8 (line 3) assert(isequal(woodall(x),tf_correct))

9   Fail
x = 895; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test9 (line 3) assert(isequal(woodall(x),tf_correct))

10   Fail
x = 1000; tf_correct = false; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test10 (line 3) assert(isequal(woodall(x),tf_correct))

11   Fail
x = 2000; tf_correct = false; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test11 (line 3) assert(isequal(woodall(x),tf_correct))

12   Fail
x = 2047; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test12 (line 3) assert(isequal(woodall(x),tf_correct))

13   Fail
x = 3000; tf_correct = false; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test13 (line 3) assert(isequal(woodall(x),tf_correct))

14   Fail
x = 3001; tf_correct = false; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test14 (line 3) assert(isequal(woodall(x),tf_correct))

15   Fail
x = 4607; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test15 (line 3) assert(isequal(woodall(x),tf_correct))

16   Fail
x = 10239; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test16 (line 3) assert(isequal(woodall(x),tf_correct))

17   Fail
x = 22527; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test17 (line 3) assert(isequal(woodall(x),tf_correct))

18   Fail
x = 7516192767; tf_correct = true; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test18 (line 3) assert(isequal(woodall(x),tf_correct))

19   Fail
x = 7516192766; tf_correct = false; assert(isequal(woodall(x),tf_correct))

Undefined function 'lambertw' for input arguments of type 'double'. Error in woodall (line 2) n = lambertw(log(2)*(x+1))/log(2); Error in Test19 (line 3) assert(isequal(woodall(x),tf_correct))

Suggested Problems

More from this Author23