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
Find the EXACT circumference and area of a circle that has a radius of 6 cm. (use pi for )
irina [24]
Circumference of circle = 2 pi r
= 2 x 3.14 x 6
= 6.28 x 6
= 37.68 cm

Area of circle = pi r^2
= 3.14 x 6^2
= 3.14 x 36
= 113.04 cm^2
5 0
3 years ago
Id.k why they removed my last question so here's a question
kondor19780726 [428]

Answer:

a= 2

Step-by-step explanation:

2 x 2=4

7-4=3

8 0
3 years ago
Read 2 more answers
Round 87,255 to the nearest ten thousand.
Levart [38]

Answer:

90,000

Step-by-step explanation:

4 0
3 years ago
NEED HELP!!! WILL GIVE BRAINLIEST, PLEASE COMPLETE BOTH!!!
max2010maxim [7]

Answer:

Step-by-step explanation: Simplify the fractions, to do that, multimply 3 by the bottom number then add the top

16/5 should be the result

put 7 over 1 multiply across for each

4 0
2 years ago
Read 2 more answers
You help build a new play center at a daycare. The play center has a tunnel for the children to climb through. You are painting
Virty [35]
To answer your question, I need to know the radius or diameter and the height of the object
3 0
3 years ago
Other questions:
  • the student Council wants to rent a ballroom for the junior prom. the balroom’s rental rate is $1500 for three hours and $125 fo
    12·1 answer
  • alyssa reads 7 1/2 pages of her book in 9 minutes ? what is her adverge reading rate in pages per minutes
    6·1 answer
  • Last week you worked 24 hours, and earned $240.
    14·2 answers
  • What is 19.184 times 0.46
    7·2 answers
  • Correct answers only please!
    5·1 answer
  • Wha rid the value of n very confused and need help
    13·1 answer
  • What expression is equivalent to 5(n+5)
    5·2 answers
  • 9. If ground beef costs $4.98 for 3 pounds, then what is the unit rate (cost per
    13·1 answer
  • PLZ I NEED THIS ASAP!! ILL GIVE YOU BRAINLIST!!!
    10·2 answers
  • PLEASE THERES 30 QUESTIONS AND IM ON 4 AND ITS DUE SOON i can only answer one q at a time omg. RKEGEB
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!