Cody

Solution 597224

Submitted on 17 Mar 2015 by Abdullah Caliskan
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 = 2; y_correct = 1.0986; assert( (log1(x)-y_correct)<0.0001)

y = 1.0986 ans = []

2   Pass
%% x = 0; y_correct = 0; assert( (log1(x)-y_correct)<0.0001)

y = 0 ans = []

3   Pass
%% x = 1; y_correct = 0.6931; assert( (log1(x)-y_correct)<0.0001)

y = 0.6931 ans = []

4   Pass
%% x = 9; y_correct = 2.3026; assert( (log1(x)-y_correct)<0.0001)

y = 2.3026 ans = []

Suggested Problems

More from this Author70