Cody

Solution 1973923

Submitted on 13 Oct 2019 at 14:21
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
h=0.1 y1=1 y_correct = 2.3579; assert(abs(e1solver(h,y1)-y_correct)<0.01)

h = 0.1000 y1 = 1 ans = 2.7183

Output argument "z" (and maybe others) not assigned during call to "e1solver". Error in Test1 (line 4) assert(abs(e1solver(h,y1)-y_correct)<0.01)

2   Fail
clc clear h=0.1 y1=2 y_correct = 4.7159; assert(abs(e1solver(h,y1)-y_correct)<0.01)

h = 0.1000 y1 = 2 ans = 7.3891

Output argument "z" (and maybe others) not assigned during call to "e1solver". Error in Test2 (line 6) assert(abs(e1solver(h,y1)-y_correct)<0.01)