Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1) Acetic acid (CH 3 COOH) reacts with ethanol (C 2 H 5 OH) to make ethyl acetat

ID: 3533705 • Letter: 1

Question

1) Acetic acid (CH3COOH) reacts with ethanol (C2H5OH) to make ethyl acetate (CH3COOC2H5) and water in an organic solvent. The reaction is:

Acetic acid + ethanol <==> Ethyl acetate + Water

Say the equilibrium constant K= [Ethyl acetate].[Water]/([Ethanol].[Acetic acid]) where the [] brackets mean molar (mole/l) concentrations. Say the Equilibrium constant K is 100 (a made-up number).

Write a matlab program that calculates how much ethyl acetate (Z g/L) is produced in g/L starting from X g/L of ethanol and 5 g/L of acetic acid.   Your program should produce a plot of Z vs X.

2) For the same reaction, assume the reaction rate is given by

d[Ethylacetate]/dt = k. [Acetic acid].[Ethanol]

and k is 1E-4 Liter/mol/sec (made up again) write a program to calculate the initial rate of ethylacetate production for specified starting concentrations of acetic acid and ethanol X and Y in g/L that are input at the start of the program.

Explanation / Answer

% 1) program1 %

%concentration of acetic acid / litre %

A=5;

% 1 litre of water has mass of ig, by definition %

W=1;

%given equilibrium constant %

K=100;