Question: X= 0.0279 fraction function >> f= x/1-x * sqrt (2*p/2+x) - k I need the MatLab code for (c) and the answer of (d) pleaseeeee

X= 0.0279
fraction function >> f= x/1-x * sqrt (2*p/2+x) - k
I need the MatLab code for (c) and the answer of (d) pleaseeeee :'(
X 2p K=- 1-x2+x where K is the reaction equilibrium constant and p is the total pressure of the mixture in units of atm. (a) If p = 3 atm and K = 0.05 determine the fraction x using the False-Position method. [Hint: You are given a MATLAB function in the appendix (engr3202_bisection) that applies the bisection method for root finding. Modify this function to perform false-position iterations and use it to solve this problem and attach your updated function(s).] 2 6) Report the initial guess(es), the stopping criterion for your method, and the number of iterations. What is the rational of the choice of the initial guesses? [Please choose a strict stropping criterion). C) Utilize the codes you developed so far to compute the fraction of dissociated H20 as a function of pressure for two cases; K=0.05 and K=0.1. In both cases allow the pressure to vary between 0 atm and 100 atm. Plot your results (fraction on y-axis and pressure on x-axis). Label the axes, insert legend, and produce a neat plot. [As usual include the plot in your answers document and attach your .m plotting scrip). (d) Based on your results in part (C) answer the following: (i) To achieve more splitting, is it better to reduce or increase the total pressure? ()To achieve more splitting, is it better to have low or high value of K? X 2p K=- 1-x2+x where K is the reaction equilibrium constant and p is the total pressure of the mixture in units of atm. (a) If p = 3 atm and K = 0.05 determine the fraction x using the False-Position method. [Hint: You are given a MATLAB function in the appendix (engr3202_bisection) that applies the bisection method for root finding. Modify this function to perform false-position iterations and use it to solve this problem and attach your updated function(s).] 2 6) Report the initial guess(es), the stopping criterion for your method, and the number of iterations. What is the rational of the choice of the initial guesses? [Please choose a strict stropping criterion). C) Utilize the codes you developed so far to compute the fraction of dissociated H20 as a function of pressure for two cases; K=0.05 and K=0.1. In both cases allow the pressure to vary between 0 atm and 100 atm. Plot your results (fraction on y-axis and pressure on x-axis). Label the axes, insert legend, and produce a neat plot. [As usual include the plot in your answers document and attach your .m plotting scrip). (d) Based on your results in part (C) answer the following: (i) To achieve more splitting, is it better to reduce or increase the total pressure? ()To achieve more splitting, is it better to have low or high value of K
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
