Goal Seek Solver
Goal Seek Solver
UG Semester 5
Lecture 1
A built-in
built in Excel tool!
“Cause and effect” scenario …….impacts
of one data item in a formula on another!
U
Uses N
Newton
t Raphson
R h method
th d
f xn
xn1 xn
f xn
Applicable for only one variable
Step 1: Open a spreadsheet in MS Excel.
Step 2: Write the equation using the cell for variable.
KP = pC pD /(pA)2(pB)
=(4+x)x/(3 2x)2(1-x)
=(4+x)x/(3-2x) (VP0/RT) = 6
(1 x)*(VP 6.51
51
or, (4+x)x/(3-2x)2(1-x)*(8*1/0.082*800) = 6.51
or (4x+x^2)/(9+4x^2-12x)(1-x)=6.51*0.082*100
or, (4x+x^2)/(9+4x^2 12x)(1 x)=6 51*0 082*100
or
or, x^3
x 3 -3
3.99x
99x^2+
2+ 5
5.269x
269x-2
2.25
25=0
0
Ans. 0.92
Not installed by default! An additional add-in is required.
To accept the constraint and return to the Solver Parameters dialog box,
click
li k OK
OK.
Note We can apply the int, bin, and dif relationships only in constraints on
decision variable cells.
We can change or delete an existing constraint by doing the following:
To restore the original values before we clicked Solve, click Restore Original
Values.
Syllabus:
Solutions in chemical equilibrium problems using
Excel Solver!
4 x^3
^3 – 8.72
8 2 x^2
^2 + 8.72
8 2 x -2.18
2 18 =0
0
Ans: 0.356086
6.. Consider the chemical reaction described by
the equation
q
CH4 (g)+ H2O(g) = CO (g) +3H2 (g)
At 300K
300K, if 1.0
1 0 atm of CH4 and H2O are
introduced into a reaction vessel and
Kp = 26
26, find the equilibrium composition.
composition
[Ref. Mol. TD, McQuarrie‐Simon, p‐46]
CH4 (g)+ H2O(g) = CO (g) +3H2 (g)
At eqm 1‐x 1‐x x 3x
Kp = pco.(pH2)3/pCH4. pH2O = 26
(3 )3 / (1‐x)(1‐x)
or,, x(3x) ( )( ) =26
27 x^4
^4 – 26 x^2
^2 + 52 x -26
26 =0
0
Ans: x=0.614809
7. Suppose the following two ideal‐gas reactions
occur CH4 + 2H2O = CO2 + 4H2 ……..(1)
CH4 + H2O = CO + 3H2 ………(2)
Let the initial numbers of moles be
CH4 H2O CO2 H2 CO
1 1 1 1 2