A mass balance equation for a stirred-tank chemical reactor has the form:
1-x=(k(0.5+x))/(1+2x(0.5+x))
Where x and k are a dimensionless concentration and a rate constant, respectively.
For values of k=1,10 and 100 , it is required to determine the corresponding value of x. (Note that x can range from 0 to 1 ).
Using Excel, set up a Newton-Raphson iteration which solves the above nonlinear equation, and hence determine x for the three values of k, to three decimal places.
Note: The Newton-Raphson formula is given by:
x_(j+1)=x_(j)-(f(x_(j)))/(f^(')(x_(j))), where ,f^(')(x_(j))-=(df(x))/(dx)|_(x)||=x_(j).
A mass balance equation for a stirred-tank chemical reactor has the form:
k(0.5+x)
Where x and k are a dimensionless concentration and a rate constant, respectively For values of k = 1, 10 and 100, it is required to determine the corresponding value of x. (Note that x can range from 0 to 1) Using Excel, set up a Newton-Raphson iteration which solves the above nonlinear equation, and hence determine x for the three values of k, to three decimal places.
Note:The Newton-Raphson formula is given by:
f(x) xj+1=xj f'(x,)
dx