Professional Documents
Culture Documents
global z F K
f=(sum(z.*K.*F/(v.*(K-1)+F))-1);
clc
clear
global F z K
F=800;
%Laju alir umpan masuk dalam (mol/jam)
z=[0.0046 0.8345 0.0381 0.0163 0.0050 0.0074 0.0287 0.02 0.0434];
K=[1.65 3.09 0.72 0.39 0.21 0.175 0.093 0.065 0.036];
format short
V=fsolve('as',586)
L=(F-V)
x=z*F./(L+K.*V)
y=K.*x
HASIL
Sum of squares of the function values is > sqrt(options.TolFun).
Try again with a new starting point.
V = 586
L = 214
x=
y=