Cody

Solution 1864248

Submitted on 3 Jul 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   Pass
a=1 b=-4 y_correct = -23.8493; assert(abs(bvpSolver(a,b)-y_correct)<10e-4)

a = 1 b = -4 [Warning: The value of local variables may have been changed to match the globals. Future versions of MATLAB will require that you declare a variable to be global before you use that variable.] [> In bvpSolver (line 2) In ScoringEngineTestPoint1 (line 4) In solutionTest (line 3)] [Warning: The value of local variables may have been changed to match the globals. Future versions of MATLAB will require that you declare a variable to be global before you use that variable.] [> In bvpSolver (line 2) In ScoringEngineTestPoint1 (line 4) In solutionTest (line 3)]

2   Fail
a=1 b=-6 y_correct = -28.5209 assert(abs(bvpSolver(a,b)-y_correct)<10e-4)

a = 1 b = -6 y_correct = -28.5209 [Warning: The value of local variables may have been changed to match the globals. Future versions of MATLAB will require that you declare a variable to be global before you use that variable.] [> In bvpSolver (line 2) In ScoringEngineTestPoint2 (line 4) In solutionTest (line 5)] [Warning: The value of local variables may have been changed to match the globals. Future versions of MATLAB will require that you declare a variable to be global before you use that variable.] [> In bvpSolver (line 2) In ScoringEngineTestPoint2 (line 4) In solutionTest (line 5)]

Assertion failed.