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
-
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...
-
Delaware Company incurred the following research and development costs during 2018: Salaries and wages for lab research .................................... $400,000 Materials used in R&D projects...
-
Scientists at GlaxoSmithKline Medicines Research Center used high-performance liquid chromatography (HPLC) to determine the amount of drug in a tablet produced by the company (Analytical Chemistry,...
-
Differentiate between tax compliance and tax planning.
-
Alamo Foods of San Antonio wants to introduce a new computer system for its perishable products warehouse. The costs and benefits are as follows: a. Given a discount rate of 8 percent (.08), perform...
-
New technology would increase fixed cost by $275000 and decrease variable cost by 15%. As a result of these changes, break even point will change from 9000 units to 9500 units. Current sales 9800...
-
On January 1, 2024, Palmero Company purchased an 80% interest in Santos Company for $2,800,000, at which time Santos Company had retained earnings of $1,000,000 and capital stock of $500,000. On the...
-
Alex's Rose Shop makes up bouquets and clarges for the vase, plus a cost per rose. The shop charges $32.85 for a botquet of 12 roses. The shop charges $50.85 for a bouquet of 20 roses. What does...
-
A company has just adopted the revaluation model and consequently revalues its properties to a market value amounting to 450m (currently included in statement of financial position at Cost 400m less...
-
If Becky's LTD paid her a $4,000 a month taxable benefit, how much monthly income would this provide her on an after tax basis?
-
Write a C program to construct a binary search tree (BST) using the given inorder and postorder traversals. The tree is accessed using a pointer pointing at root. Display a menu for the user to...
-
Blossom Pizza, Inc. is in the process of documenting all its costs using Activity-Based Costing (ABC). Blossom specializes in unique sauces, and it has assigned the following Manufacturing Overhead...
-
Blue Corporation purchased a commercial sales office building for $500,000 in 2011 and appropriately depreciated the property. Blue sold the property in February 2018. How much is Blue's tax...
-
Dye-Aspora, Inc manufactures a red industrial dye. The company is preparing its master budget for the first quarter and has presented you with the following information. 1. The December 31, 20XX,...
-
How can a promoter avoid personal liability for pre-incorporation contracts?
-
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
-
Smart Manufacturing Systems Pty Ltds accountant recently prepared the following data from the companys accounting records for the year ended 30 June 2019. Factory overhead is applied at the rate of...
-
During the year ended 30 June 2019, Beautiful Bottles Pty Ltd incurred the following costs in connection with its production activities. Required (a) Calculate the relationship between factory...
-
Telecommunications company Toronto Ltd signed a 15year deal to sell capacity on its cable network to a rival company for $200 million. The deal was completed on the last day of Toronto Ltds financial...
Study smarter with the SolutionInn App