Cody

Solution 2004387

Submitted on 6 Nov 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
M = pi/2; e = 0; assert(isequal(round(kepler(M, e)*1e5)/1e5, 1.5708))

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

2   Fail
M = pi/2; e = 0.8; assert(isequal(round(kepler(M, e)*1e5)/1e5, 2.21193))

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

3   Fail
M = pi/3; e = 0.1; assert(isequal(round(kepler(M, e)*1e5)/1e5, 1.13798))

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

4   Fail
M = 0.1; e = 0.2; assert(isequal(round(kepler(M, e)*1e5)/1e5, 0.12492))

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

Suggested Problems

More from this Author1