1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Mnenie [13.5K]
3 years ago
10

Let's use the results of the 2012 presidential election as our x0. Looking up the popular vote totals, we find that our initial

distribution vector should be (0.5106, 0.4720, 0.0075, 0.0099)T. Enter the matrix P and this vector x0 in MATLAB:

Mathematics
2 answers:
mylen [45]3 years ago
8 0

Answer:

The voter-base after 3 elections is:

0.392565, 0.400734, 0.109855, 0.096846

The voter-base after 6 elections is:

0.36168, 0.36294, 0.14176, 0.13362

The voter-base after 10 elections is:

0.35405, 0.34074, 0.15342, 0.15178

Step-by-step explanation:

This question is incomplete. I will proceed to give the complete question. Then I will add a screenshot of my code solution to this question. After which I will give the expected outputs.

Let's use the results of the 2012 presidential election as our x0. Looking up the popular vote totals, we find that our initial distribution vector should be (0.5106, 0.4720, 0.0075, 0.0099)T. Enter the matrix P and this vector x0 in MATLAB:

P = [ 0.8100 0.0800 0.1600 0.1000;

0.0900 0.8400 0.0500 0.0800;

0.0600 0.0400 0.7400 0.0400;

0.0400 0.0400 0.0500 0.7800];

x0 = [0.5106; 0.4720; 0.0075; 0.0099];

According to our model, what should the party distribution vector be after three, six and ten elections?

Please find the code solution in the images attached to this question.

The voter-base after 3 elections is therefore:

0.392565, 0.400734, 0.109855, 0.096846

The voter-base after 6 elections is therefore:

0.36168, 0.36294, 0.14176, 0.13362

The voter-base after 10 elections is therefore:

0.35405, 0.34074, 0.15342, 0.15178

Aleonysh [2.5K]3 years ago
4 0

Answer:

The code is as given below to be copied in a new matlab script m file. The screenshots are attached.

Step-by-step explanation:

As the question is not complete, the complete question is attached herewith.

The code for the problem is as follows:

%Defining the given matrices:

%P is the matrix showing the percentage of changes in voterbase

P = [ 0.8100 0.0800 0.1600 0.1000;

0.0900 0.8400 0.0500 0.0800;

0.0600 0.0400 0.7400 0.0400;

0.0400 0.0400 0.0500 0.7800];

%x0 is the vector representing the current voterbase

x0 = [0.5106; 0.4720; 0.0075; 0.0099];

%In MATLAB, the power(exponent) operator is defined by ^

%After 3 elections..

x3 = P^3 * x0;

disp("The voterbase after 3 elections is:");

disp(x3);

%After 6 elections..

x3 = P^6 * x0;

disp("The voterbase after 6 elections is:");

disp(x3);

%After 10 elections..

x10 = P^10 * x0;

disp("The voterbase after 10 elections is:");

disp(x10);

%After 30 elections..

x30 = P^30 * x0;

disp("The voterbase after 30 elections is:");

disp(x30);

%After 60 elections..

x60 = P^60 * x0;

disp("The voterbase after 60 elections is:");

disp(x60);

%After 100 elections..

x100 = P^100 * x0;

disp("The voterbase after 100 elections is:");

disp(x100);

The output is as well as the code in the matlab is as attached.

You might be interested in
9x-8(x-6)=52 what is the answer
Effectus [21]

Answer:

x = 4

Step-by-step explanation:

Step 1: Write equation

9x - 8(x - 6) = 52

Step 2: Solve for <em>x</em>

  1. Distribute -8: 9x - 8x + 48 = 52
  2. Combine like terms: x + 48 = 52
  3. Subtract 48 on both sides: x = 4

Step 3: Check

<em>Plug in x to verify it's a solution.</em>

9(4) - 8(4 - 6) = 52

36 - 8(-2) = 52

36 + 16 = 52

52 = 52

7 0
3 years ago
What is the vertex of Y equals X to the second power -4x-5​
Fed [463]

Answer:

vertex = (2, - 9 )

Step-by-step explanation:

Given a quadratic in standard form : ax² + bx + c : a ≠ 0

Then the x- coordinate of the vertex is

x_{vertex} = - \frac{b}{2a}

x² - 4x - 5 ← is in standard form

with a = 1, b = - 4, thus

x_{vertex} = - \frac{-4}{2} = 2

Substitute this value into the quadratic for corresponding value of y

(2)² - 4(2) - 5 = 4 - 8 - 5 = - 9

vertex = (2, - 9 )

5 0
3 years ago
What is the solution of the equation x2 − 2x = −2?
RSB [31]

Answer:

-2

Step-by-step explanation:

6 0
3 years ago
. If x = 7 + 4√3 then find the value of x2<br> – 1/x2
inessss [21]

Answer:

you can use mathpapa it works

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
determine if the ordered pair is a solution of the equation is (2,4) a solution of y = 10 -3×? true or false​
anzhelika [568]

Answer:

False

Step-by-step explanation:

4 = 10 - 3²

4 = 10 - 9

4 = 1

7 0
3 years ago
Other questions:
  • Emily ran her first lap in 75 seconds she ran her second lap in 69 seconds using percentages how much better was her second lap
    12·1 answer
  • Rady recycled 4 cans less than 3 times the number of cans Addison recycled, x. Which expression represents the total number of c
    8·1 answer
  • Austin bought 10 reams of paper at the store for a total of $84.00. the tax on the purchase was $4.00. what was the cost of each
    7·2 answers
  • The world record in the long jump is 29 feet and 4 1/2 inches. how many inches short of 10 yards is the record long jump?
    15·1 answer
  • A web store offers two versions of a popular song. the size of the standard version is 2.5 megabytes. the size of the high-quali
    13·1 answer
  • Please help me anyone I’m kinda stuck
    9·1 answer
  • This table shows values that represent a quadratic function. What is the average rate of change for the quadratic function for t
    14·1 answer
  • GUYS PLEASE HELP ILL GIVE YOU A BRAINLIEST ( the measure of arc XY is:)
    13·1 answer
  • Which of the following is parallel to the line y=2/3x+5
    11·1 answer
  • Solve for x, 8+2/7x=12?Help?
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!