Based on the color observations, what PH range would bromocresol green be an appropriate indicator for? Would
Question:
Based on the color observations, what PH range would bromocresol green be an appropriate indicator for? Would this pH range be appropriate for titrations of (a) strong acids
by strong bases, (b) weak acids by strong bases, or (c) weak bases by strong acids? Explain.
2. What criteria are used to select a wavelength for measuring absorbances in these solu ions? Why?
3. What two properties (one chemical and one physical) combine to make bromcresol green useful as an acidity indicator?
4. In 1.0 mol/L HCl, what form of bromocresol green, HA or A-, predominates? Explain.
5. What single error would have the greatest effect on the accuracy of the experimental results?
In this problem, we will consider different representations for the "IntPoly" ADT, which represents a polynomial with integer coefficients. To do this, we will use the "IntTerm" ADT below, which represents a monomial (a polynomial with one term) with an integer coefficient. Here is a partial implementation of these ADTS: *An IntTerm is a mutable representation of a monomial with an integer coefficient, * i.e., something of the form Ax", where A and b are integers satisfying A != 0 * and b >= 0. A is called the coefficient of this term, while b is called the *exponent. "/ public class IntTerm { // RI: this.coeff != 0 and this.expt >= 0. // AF(this) = a monomial Ax^b, where A = this.coeff and B = this.expt. private int coeff; private int expt; ... methods including getCoeff() and getExpt() ... } II. ...code continues on the next page... * An IntPoly is a mutable representation of a polynomial with integer coefficients. *A polynomial is a sum of monomials. */ public class IntPoly { // RI: ?? (You will give possible answers for this in the next page.) // AF(this) = the sum of all IntTerms in the list this.terms. private List terms; /** * @param expt the exponent of the term whose coefficient is being requested @spec.requires expt >= 0 * @return the coefficient of the term with exponent "expt" (0 if no such term) */ public int coeff(int expt) {...} } * @return the highest exponent with a nonzero coefficient (or 0 if this = 0) */ public int degree() {...} * @return the number of nonzero coefficients */ public int size() {...} * @return a list containing all the terms with nonzero coefficients */ public List getTerms() {...} *@param t A onomial to be added this polynomial @modifies this * @spec.effects Adds t to the polynomial */ public void addTerm (IntTerm t) {...} Representation Invariants There are multiple possible representation invariants we could write for IntPoly. Given the following versions, write a suitable representation invariant (RI) for the ADT: a) No restrictions on the IntTerms in the list "terms" (except, as always, no nulls). b) A version where there can be no two terms with the same exponent (feel free to refer to all assertions in the previous version by writing "[a]"). c) A version where the terms are ordered by exponent, in strictly descending order (i.e., with adjacent exponents satisfying ">" not ">="). 3 Concrete Representations For each of the following concrete examples of this.terms, a list of IntTerms stored in an IntPoly, note which representation invariants above (a,b,c) are satisfied by it. Then, write which of these examples correspond to an equal abstract state (meaning they represent the same polynomial, if they represent a valid polynomial). Here, we will use the pair (A, b) as shorthand for the monomial "Axb". A. [(5, 4), (1, 0)] B. [(5, 4), (2, 0), (-1,0)] C. [(3, 2), (2, 3)] D. [null, (1, 0), (5, 4)] E. [(1, 3), (1, 3), (2, 2), (1, 2)] F. [(1, 0), (2, 4), (3,4)] Choosing Representation Invariants When implementing methods of an ADT, certain invariants can make the coding easier, while some may lead to more complicated solutions. For each method in the IntPoly ADT, state which Rls above (a,b,c) would make implementing that method easiest. Include a short explanation for each method. Here, multiple answers may be possible, so you will be graded based on your explanation. Here are the methods included with Int Poly: "coeff", "degree", "size", "getTerms", and "addTerm". Representation Exposure Which methods of IntPoly have a potential risk of representation exposure? For each such method, what does the implementation need to do to ensure representation exposure does not happen? In our specification, we denoted IntTerm is a mutable class. If we were to change it to an immutable class, how would your answer to the question above change? Would all methods you mentioned still have a potential risk of representation exposure? What does the implementation need to do now to ensure representation exposure does not happen? In this problem, we will consider different representations for the "IntPoly" ADT, which represents a polynomial with integer coefficients. To do this, we will use the "IntTerm" ADT below, which represents a monomial (a polynomial with one term) with an integer coefficient. Here is a partial implementation of these ADTS: *An IntTerm is a mutable representation of a monomial with an integer coefficient, * i.e., something of the form Ax", where A and b are integers satisfying A != 0 * and b >= 0. A is called the coefficient of this term, while b is called the *exponent. "/ public class IntTerm { // RI: this.coeff != 0 and this.expt >= 0. // AF(this) = a monomial Ax^b, where A = this.coeff and B = this.expt. private int coeff; private int expt; ... methods including getCoeff() and getExpt() ... } II. ...code continues on the next page... * An IntPoly is a mutable representation of a polynomial with integer coefficients. *A polynomial is a sum of monomials. */ public class IntPoly { // RI: ?? (You will give possible answers for this in the next page.) // AF(this) = the sum of all IntTerms in the list this.terms. private List terms; /** * @param expt the exponent of the term whose coefficient is being requested @spec.requires expt >= 0 * @return the coefficient of the term with exponent "expt" (0 if no such term) */ public int coeff(int expt) {...} } * @return the highest exponent with a nonzero coefficient (or 0 if this = 0) */ public int degree() {...} * @return the number of nonzero coefficients */ public int size() {...} * @return a list containing all the terms with nonzero coefficients */ public List getTerms() {...} *@param t A onomial to be added this polynomial @modifies this * @spec.effects Adds t to the polynomial */ public void addTerm (IntTerm t) {...} Representation Invariants There are multiple possible representation invariants we could write for IntPoly. Given the following versions, write a suitable representation invariant (RI) for the ADT: a) No restrictions on the IntTerms in the list "terms" (except, as always, no nulls). b) A version where there can be no two terms with the same exponent (feel free to refer to all assertions in the previous version by writing "[a]"). c) A version where the terms are ordered by exponent, in strictly descending order (i.e., with adjacent exponents satisfying ">" not ">="). 3 Concrete Representations For each of the following concrete examples of this.terms, a list of IntTerms stored in an IntPoly, note which representation invariants above (a,b,c) are satisfied by it. Then, write which of these examples correspond to an equal abstract state (meaning they represent the same polynomial, if they represent a valid polynomial). Here, we will use the pair (A, b) as shorthand for the monomial "Axb". A. [(5, 4), (1, 0)] B. [(5, 4), (2, 0), (-1,0)] C. [(3, 2), (2, 3)] D. [null, (1, 0), (5, 4)] E. [(1, 3), (1, 3), (2, 2), (1, 2)] F. [(1, 0), (2, 4), (3,4)] Choosing Representation Invariants When implementing methods of an ADT, certain invariants can make the coding easier, while some may lead to more complicated solutions. For each method in the IntPoly ADT, state which Rls above (a,b,c) would make implementing that method easiest. Include a short explanation for each method. Here, multiple answers may be possible, so you will be graded based on your explanation. Here are the methods included with Int Poly: "coeff", "degree", "size", "getTerms", and "addTerm". Representation Exposure Which methods of IntPoly have a potential risk of representation exposure? For each such method, what does the implementation need to do to ensure representation exposure does not happen? In our specification, we denoted IntTerm is a mutable class. If we were to change it to an immutable class, how would your answer to the question above change? Would all methods you mentioned still have a potential risk of representation exposure? What does the implementation need to do now to ensure representation exposure does not happen?
Expert Answer:
1ANS Bromocresol green is a pH indicator that changes color within the pH range of approximately 38 ... View the full answer
Numerical Methods With Chemical Engineering Applications
ISBN: 9781107135116
1st Edition
Authors: Kevin D. Dorfman, Prodromos Daoutidis
Students also viewed these programming questions
-
President of UT Group of companies, Prince Kofi Amoabeng has admitted that stakeholders of UT Bank are to be held responsible for the collapse of the bank and not the government of Ghana. "When it...
-
Need hand written solution Question 4. Derive a model for each of the following systems and draw their mechanical equivalents. + OT
-
can someone solve this Modern workstations typically have memory systems that incorporate two or three levels of caching. Explain why they are designed like this. [4 marks] In order to investigate...
-
Are workers less likely to quit their jobs when wages are high than when they are low? The paper Investigating the Causal Relationship Between Quits andWages: An Exercise in Comparative Dynamics...
-
Find two isomorphism's between R16 and M44.
-
In the figure, EO is the midsegment of trapezoid TRAP and RP intersect EO at point Z. If RA = 15 and EO = 18, what is the length of EZ ? T E R Z A P
-
The Sky Company's income statement and comparative balance sheets as of December 31 of 2019 and 2018 follow: During the year, the following transactions occurred: 1. Sold long-term investments...
-
Janitorial Products, Inc., manufactures two products, brooms and mops, which are sold in two territories designated by the company as East Territory and West Territory. The following income statement...
-
Ishan and Hazel plan to retire at age 60 with a retirement income of $48,000 a year from their savings. Rather than pay themselves the whole amount at the beginning of each year, they have decided...
-
Euro Corporation, a U.S. corporation, operates through a branch in Germany. During 2022, the branch reported taxable income of $1,000,000 and paid German income taxes of $300,000. In addition, Euro...
-
The table of values describes the behavior of decreasing function k(x). Find the slope of the line tangent to the graph at k-(1). (10 points) x -1 0 1 k 21-1 k' 1 30
-
True or False. A singular point corresponds to a state of equilibrium of the system.
-
True or False. Dry friction can introduce nonlinearity in the system.
-
True or False. The Ritz-Galerkin method finds the approximate solution by satisfying the nonlinear equation in the average.
-
True or False. The jump phenomenon is exhibited by both linear and nonlinear systems.
-
Discuss the basic principle on which a strain gage works.
-
The displacement of a wave traveling in the negative y direction is D ( y , t ) = ( 4 . 0 m ) sin ( 4 5 y + 6 5 t + pi ) , where y is in m and t is in . What is the frequency of this wave? What is...
-
The following information is for Montreal Gloves Inc. for the year 2020: Manufacturing costs Number of gloves manufactured Beginning inventory $ 3,016,700 311,000 pairs 0 pairs Sales in 2020 were...
-
Consider the solution to the steady state concentration profile 2 c = 0 using centered finite differences. The domain is discretized into nine nodes with a spacing x and y. The concentration at the...
-
Determine the stability condition for the step size h for Ralstons method, which has the form where Y1 = 3+ h (= k + k) 3
-
Determine the trajectory of the kinetic system with initial conditions A(0) = 1 and B(0) = 2. Does the system reach steady state? dA dt dB dt = 2A- 3B -4A + B
-
The following are selected operating data for Jack- son Company's Blending Department for November 2019. Painting and packaging operations are carried out subsequently in other departments. Calculate...
-
In its first month of operations (May of 2019), Allred Company's Department 1 incurred charges of \($72,000\) for direct materials (9,000 units), \($38,700\) for direct labor, and \($13,500\) for...
-
The following data (and annotations) for March 2019 are for the work-in-process account of the first of Olympus Company's four departments used in manufacturing its only product. Assuming that...
Study smarter with the SolutionInn App