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))
ans =
1.7500
|
Make the vector [1 2 3 4 5 6 7 8 9 10]
35553 Solvers
3075 Solvers
6364 Solvers
367 Solvers
187 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!