Cody

Solution 2075331

Submitted on 31 Dec 2019
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
a = 2; y_correct = [ 28.9550 97.1808]; assert(isequal(isoceles(a),y_correct))

Error in solution: Line: 7 Column: 8 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

2   Fail
a = 3; y_correct = [ 19.1881 38.9424 83.6206 112.8854]; assert(isequal(isoceles(a),y_correct))

Error in solution: Line: 7 Column: 8 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.

3   Fail
a = 1; y_correct = []; assert(isequal(isoceles(a),y_correct))

Error in solution: Line: 7 Column: 8 Incorrect use of '=' operator. To assign a value to a variable, use '='. To compare values for equality, use '=='.