Professional Documents
Culture Documents
Task 1:
What are the limits (boundaries) in this problem?
aA + bB + cC + dD ↔ eE + fF
aA + bB + cC + dD ↔ eE + fF
aA + bB + cC + dD ↔ eE + fF
aA + bB + cC + dD ↔ eE + fF
Assumptions:
na, nb, nc, nd, ne and nf are equal or greater than 0.
Since n* stands for the extent of this reaction, it cannot be
negative.
na-an* (Column 4 of our table) must be equal or greater than 0.
Now finish this off to complete the assumptions.
aA + bB + cC + dD ↔ eE + fF
Similarly:
aA + bB + cC + dD ↔ eE + fF
Similarly:
n* is equal or greater than 0
Now do the working from Slide 5 for the remaining v’s (i.e. b, c, d) or
state what happens.
aA + bB + cC + dD ↔ eE + fF
aA + bB + cC + dD ↔ eE + fF
aA + bB + cC + dD ↔ eE + fF
Do
i=i+1 ‘what is happening?
If i = 100 Then ‘write your explanations, like in Assignment 1.
MsgBox (“Reached a maximum number of iterations (100)”)
Exit Function ‘you should probably Exit Function, not end it.
End If
<<code in loop>>
Loop While (<<condition>>)