Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The dissolution of copper sulfide in aqueous nitric acid is described by the following chemical equation: The dissolution of copper sulfide in aqueous nitric acid

image text in transcribed

The dissolution of copper sulfide in aqueous nitric acid is described by the following chemical equation:

The dissolution of copper sulfide in aqueous nitric acid is described by the following chemical equation where a, b, c, d, e, f, and g are the numbers of the various molecules participating in the reaction. They can be determined by balancing each atom on left and right side of the reaction and then balancing the ionic charge. The resulting equations are -b+ c-2d -2e Which can be rewritten as There are 7 unknowns (a, b, c, d, e, f, and g) and only 6 equations. A solution can still be obtained, however, by taking advantage of the fact that all the coefficients must be positive integers. A seventh equation can be added by assuming a value of a and solve the system of equations. For example, your seventh equation can be a k where k is a positive integer 1, 2, 3 ...etc. The solution is valid only if all the coefficients (a, b, c, d, e, f, and g) are positive integers. If this is not the case, repeat the solution using different value for k. By hand, rewrite your system of equations in matrix format Ax - bwhere A is the matrix of the coefficients of a, b, c, d, e, f, and g in the equations above, x is the column vector of the 7 unknowns a, b, c, d, e,f, and g and b is a column vector of the right hand side. Then, write a script file HW4P1.m that does the following 1. Prompts the user to enter a value for k as a positive integer and assign it to a 2. 3. 4. variable Creates matrix A, column vectors x and b. Noting that k will be the last element in b Solves the system of equation using left division. When it runs, it uses fprintf0 to display the output in the format" When a - Noting that a, b, c, d, e,f, and g are the elements of x. Use f format for the data with two decimal digits

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Beyond Big Data Using Social MDM To Drive Deep Customer Insight

Authors: Martin Oberhofer, Eberhard Hechler

1st Edition

0133509796, 9780133509793

More Books

Students also viewed these Databases questions