Cody

Solution 1702601

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

a = 1 b = -4

Error: File: bvpSolver.m Line: 6 Column: 16 "twoode" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test1 (line 4) assert(abs(bvpSolver(a,b)-y_correct)<10e-4)

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

Error: File: bvpSolver.m Line: 6 Column: 16 "twoode" was previously used as a variable, conflicting with its use here as the name of a function or command. See "How MATLAB Recognizes Command Syntax" in the MATLAB documentation for details. Error in Test2 (line 4) assert(abs(bvpSolver(a,b)-y_correct)<10e-4)