Introduction to mathematical programming
Introduction to mathematical programming
4th Edition
ISBN: 9780534359645
Author: Jeffrey B. Goldberg
Publisher: Cengage Learning
Expert Solution & Answer
Book Icon
Chapter 2, Problem 12RP

Explanation of Solution

Relating two vectors:

Suppose that Rt be the number of rural residents at the beginning of the year t, and Ct be the number of city residents at the beginning of the year t.

Since 10% of the rural residents moved to city, remaining 90% of the rural decided to continue to stay at the rural residents at the beginning of the year t+1.

Thus, the number of rural residents in the beginning of the year t+1 is given below:

Rt+1=0.9Rt+0.2Ct

Also, 20% of city residents moved to the rural residents in the beginning of the year t+1.

Therefore, the number of city residents in the beginning of the year t+1 is as follows:

Ct+1=0

Blurred answer
Students have asked these similar questions
Type in Latex **Problem**. Let $$A = \begin{bmatrix} .5 & .2 & .3 \\ .3 & .8 & .3 \\ .2 & 0 & .4 \end{bmatrix}.$$ This matrix is an example of a **stochastic matrix**: its column sums are all equal to 1. The vectors $$\mathbf{v}_1 = \begin{bmatrix} .3 \\ .6 \\ .1 \end{bmatrix}, \mathbf{v}_2 = \begin{bmatrix} 1 \\ -3 \\ 2 \end{bmatrix}, \mathbf{v}_3 = \begin{bmatrix} -1 \\ 0 \\ 1\end{bmatrix}$$ are all eigenvectors of $A$. * Compute $\left[\begin{array}{rrr} 1 & 1 & 1 \end{array}\right]\cdot\mathbf{x}_0$ and deduce that $c_1 = 1$.* Finally, let $\mathbf{x}_k = A^k \mathbf{x}_0$.  Show that $\mathbf{x}_k \longrightarrow \mathbf{v}_1$ as $k$ goes to infinity.  (The vector $\mathbf{v}_1$ is called a **steady-state vector** for $A.$)   **Solution**.    To prove that $c_1 = 1$, we first left-multiply both sides of the above equation by $[1 \, 1\, 1]$ and then simplify both sides:$$\begin{aligned}[1 \, 1\, 1]\mathbf{x}_0 &= [1 \, 1\, 1](c_1\mathbf{v}_1 +…
Problem 1) Change the diagonal elements of a 3X3 matrix to 1. Diagonal elements of the example matrix shown here are 10, 8, 2 10 -4 0 7 8 3 0 0 2 Read the given values from input (cin) using for loops and then write your code to solve the diagonal.
Let y be a column vector: y = [1, 2, 3, 4, 5, 6] so that y.shape = (6,1). Reshape the vector into a matrix z using the numpy.array.reshape and (numpy.array.transpose if necessary) to form a new matrix z whose first column is [1, 2, 3], and whose second column is [4, 5, 6]. Print out the resulting array z.
Knowledge Booster
Background pattern image
Similar questions
SEE MORE QUESTIONS
Recommended textbooks for you
Text book image
Operations Research : Applications and Algorithms
Computer Science
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Brooks Cole