Cody

Solution 1578105

Submitted on 8 Jul 2018 by David Verrelli
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 ans = 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 ans = 4.7159