Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Frank Woods Business Accounting An Introduction To Financial Accounting

Authors: Alan Sangster, Lewis Gordon, Frank Wood

15th Edition

1292365439, 9781292365435

Students also viewed these Accounting questions

Question

600 lb 20 0.5 ft 30 30 5 ft

Answered: 1 week ago