Ammonia (NH3) is a metabolite, but is very toxic to aquatic life. NH3 and ammonium (NH4+)...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Ammonia (NH3) is a metabolite, but is very toxic to aquatic life. NH3 and ammonium (NH4+) exist in equilibrium in an aqueous solution. The equilibrium constant K depends on temperature and pH. Nitrifying bacteria convert NH4+ to nitrite (NO2). Nitrite can be further oxidized to nitrate (NO3). Finally denitrification bacteria convert NO3 to 2 completing the nitrogen cycle. Below are the reactions describing this part of the N cycle: k NH, (aq) + H,O * * NH (aq) NH (aq)- NOz (aq) K4 NO (aq) + NO3(aq) Ks NO3(aq) N2(g) Please write a MATLAB code to calculate and plot the concentration profiles of NH 3, NH4+, NO and NO3 as a function of time at T=298 K and neutral pH. Please compare the results when the temperature varies from 275 to 325 K and pH varies from 5 to 8. The input for the code will include the rate constants k of the reactions and the initial concentrations [C] of the reactants. The output of the code will include the concentrations of both the reactants and products as a function of time. Ammonia (NH3) is a metabolite, but is very toxic to aquatic life. NH3 and ammonium (NH4+) exist in equilibrium in an aqueous solution. The equilibrium constant K depends on temperature and pH. Nitrifying bacteria convert NH4+ to nitrite (NO2). Nitrite can be further oxidized to nitrate (NO3). Finally denitrification bacteria convert NO3 to 2 completing the nitrogen cycle. Below are the reactions describing this part of the N cycle: k NH, (aq) + H,O * * NH (aq) NH (aq)- NOz (aq) K4 NO (aq) + NO3(aq) Ks NO3(aq) N2(g) Please write a MATLAB code to calculate and plot the concentration profiles of NH 3, NH4+, NO and NO3 as a function of time at T=298 K and neutral pH. Please compare the results when the temperature varies from 275 to 325 K and pH varies from 5 to 8. The input for the code will include the rate constants k of the reactions and the initial concentrations [C] of the reactants. The output of the code will include the concentrations of both the reactants and products as a function of time.
Expert Answer:
Related Book For
Heat And Mass Transfer For Chemical Engineers Principles And Applications
ISBN: 9781264266678
1st Edition
Authors: Giorgio Carta
Posted Date:
Students also viewed these programming questions
-
a. Example 13-1: Batch Reactor with an Exothermic Reaction Wolfram 1. Adiabatic Case: Use Wolfram to see whether you can find a trajectory that is ready to ignite and whose trajectory looks like a...
-
Q1. You have identified a market opportunity for home media players that would cater for older members of the population. Many older people have difficulty in understanding the operating principles...
-
Use the information in Exercise 2-16 to prepare an August 31 balance sheet for Help Today. Hint: Compute the ownerscapital account balance as of August 31. Data from Exercise 2-16 Carmen Camry...
-
Identify the combined shifts in long-run aggregate supply and aggregate demand that could explain the following simultaneous occurrences. a. An increase in equilibrium real GDP and an increase in the...
-
Which of the following best describes the United States level of health care spending as compared to that of other nations? a. The lowest of all nations. b. A bit lower than average. c. Average. d. A...
-
Enumerate the various steps needed to achieve project supply chain integration.
-
Management accounting guidelines. For each of the following items, identify which of the management accounting guidelines applies: cost-benefit approach, behavioral and technical considerations, or...
-
2. Consider the following pieces of JAVA code: public Course { public String name; public int enrollment; public double averageGrade; Course(String setName, String setEnrollment, double...
-
For the case The WM. Wrigley Jr. Company: Capital Structure, Valuation, and the Cost of Capital(Darden Case: UVAF1482) please answer the following questions and explain your reasoningwhere...
-
2. Where can you find the Line Graph area in Excel? O In the Insert ribbon under the Charts menu O In the Data ribbon under the Graphs menu In the Formulas ribbon under the Charts menu O In the Page...
-
Can you think of an example of O-ring production from everyday life? Do you think your example is a good metaphor for development problems?
-
What is the meaning of a colonial legacy? Discuss any disadvantages and possible advantages.
-
Compare and contrast the nature of peasant or small-scale traditional agriculture in Asia, Africa, and Latin America. How do overall agricultural systems differ among these regions? What are the...
-
Do you think that there is a strong relationship among health, labor productivity, and income levels? Explain your answer.
-
For all of their diversity, many less developed countries are linked by a range of common problems. What are these problems? Which do you think are the most important? Why?
-
JA Inc. has average inventory of $1,000,000. Its estimated annual sales are $10 million and the firm estimates its receivables conversion period to be twice as long as its inventory conversion...
-
Chloroplasts are illuminated until the levels of the Calvin cycle intermediates reach a steady state. The light is then turned off. How does the level of RuBP vary after this point?
-
Redo problem P.6.4 assuming that there is no forced convection, i.e., all of the heat transfer is by natural convection. Data From Problem P.6.4: A 10-volt (DC) electrical potential difference is...
-
A bed of granular activated carbon is to be used to remove chlorobenzene from contaminated water at 20C. The carbon consists of roughly spherical particles with a 3-mm average diameter which are...
-
The device shown in Fig. P.12.1 is used to measure the diffusion coefficient of oxygen (O 2 ) in water and various solutions at 10C. The O 2 sensor is used to measure the O 2 mole fraction at the...
-
A rotary drum filter has a diameter of $6 \mathrm{ft}$ and a length of $8 \mathrm{ft}$ and rotates at a rate of $30 \mathrm{~s} / \mathrm{cycle}$. The filter operates at a vacuum of $500 \mathrm{~mm}...
-
You must filter $1000 \mathrm{lb}_{\mathrm{m}} / \mathrm{min}$ of an aqueous slurry containing $40 %$ solids by weight using a rotary drum filter with a diameter of $4 \mathrm{~m}$ and a length of $4...
-
A slurry containing $1 \mathrm{lb}_{\mathrm{m}}$ of solids per gallon of water is to be filtered in a plate-and-frame filter having a total filtering area of $60 \mathrm{ft}^{2}$. The slurry is fed...
Study smarter with the SolutionInn App