You need to add more test cases...Thanks.
Test | Status | Code Input and Output |
---|---|---|
1 | Pass |
%%
f=@(x) x.^2-4;
x_lower = 1;
x_upper = 3;
es = 0;
maxit=1;
y_correct = 1.75;
assert(isequal(false_position(f,x_lower,x_upper,es,maxit),y_correct))
|
819 Solvers
Find the "ordinary" or Euclidean distance between A and Z
137 Solvers
Cody Computer Part 4 : Are you a morning Cody player Addicted ?
76 Solvers
250 Solvers
130 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!