Cody

Solution 1067683

Submitted on 1 Dec 2016 by SANGWOO CHANG
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
h=0.1 y1=1 y_correct = 2.3579; assert(abs(e1solver(h,y1)-y_correct)<0.01)

h = 0.1000 y1 = 1 y = 2.3579

2   Pass
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 y = 4.7159