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...
-
"internet radios" for streaming audio, and personal video recorders and players. Describe design and evaluation processes that could be used by a start-up company to improve the usability of such...
-
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...
-
1. Does the fact that sales at larger firms now contribute more to aggregate demand shocks or aggregate supply shocks necessarily imply that these shocks have greater magnitudes than in the past?...
-
Health-related myths and the type of ANOVA: Consider the study we used as an example for a twoway between-groups ANOVA. Older and younger people were randomly assigned to hear either one repetition...
-
In 2016, a hacker tricked a Lamps Plus employee into disclosing the tax information of approximately 1,300 other employees, resulting in the filing of a fraudulent income tax return of Lamps Plus...
-
Cawley Company makes three models of tasers. Information on the three products is given below. Fixed expenses consist of $300,000 of common costs allocated to the three products based on relative...
-
need 1) ERD and 2) relational model for an airline company An airline company has many planes that travel between different airports. A trip is handled by one pilot and involves one plane. Trips...
-
PCAOB Release No. I05-2017-054, dated December 19, 2017, is a PCAOB Order formally sanctioning Grant Thornton and fining the firm $1.5 million in connection with its audit of The Bancorp, Inc....
-
11. (Conceptual Cost Estimate) Use the conceptual cost estimate method to estimate the total cost of a 2,200 SF project to be built at Oklahoma City in 2028. The following projects are constructed in...
-
Subject 1 (40%) A. As a business valuation expert, you have been allotted with the project to estimate the cost of equity for Alton Holdings. Alton Holdings operates in three different business...
-
Problem 1: The present prices of a riskless asset, a stock, and an option, are provided in the first row of the table below. The next two rows contain the prices of these assets in the next week, in...
-
Beanie Babies are toy stuffed animals that have become valuable colector's items since the introduction of Ally the Alligator in 1994. Beanie World Magazine provided the information on 50 beanie...
-
Evaluate the systems documentations provided below using the accounts payable system. a. Identify any technical errors in the three documentations provided and suggest ways to improve those diagrams....
-
question Determine all value(s) of for which y" = 0 for the following function: 1 11 15 22 9x + 4 2 6 Enter your answer as a decimal if necessary
-
Give the structural formulas of the alkenes that, on ozonolysis, give: a. (CH3)2C=O and CH2=O b. Only (CH3CH2)2C=O c. CH3CH=O and CH3CH2CH=O d. O=CHCH2CH2CH2CH=O
-
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...
-
Construct a stem-and-leaf plot of the poverty data discussed in Example 6. Approach We will use Minitab. The steps for constructing the graphs using Minitab or StatCrunch are given in the Technology...
-
Draw a dot plot for the number of arrivals at Wendys data from Table 8. Approach The smallest observation in the data set is 1 and the largest is 11. Write the numbers 1 through 11 horizontally. For...
-
The following data represent the number of grams of fat in breakfast meals offered at a local fast food restaurant. (a) construct a stem-and-leaf plot and (b) describe the shape of the distribution....
Study smarter with the SolutionInn App