I am to create a function that uses FalsePosition (function shown below) to solve for f in the given equation. I think I'm missing some connections between my script and the function I'm trying to call.
Here is FalsePosition
This is my code:
function [root, fx, ea, iter] = falsepositionnew(y)
y = @(f, Re) 1/sqrt(f) - 4*log(Re*sqrt(f))+0.4;
f(i) = falseposition(y,xl,xu,es,maxit);
0 Comments
Sign in to comment.