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
Rewrite y + 3 = 0 using function notation.
Leni [432]
F(x) basically just substitutes the "y"
so you would bring everything over to one side
y + 3 = 0
subtract 3
y = -3
then 
f(x) = -3

That is B)
3 0
3 years ago
Read 2 more answers
hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
cricket20 [7]

Answer:

The answer is H

Step-by-step explanation:

Next time pls ask real question

8 0
3 years ago
Help me plss medfnnf​
tresset_1 [31]
Do you have any more information???
8 0
3 years ago
Please help me. this is hard
allochka39001 [22]
Since it is a square that means each side is equal.
The perimeter is 24, and since there is four sides we would divide it by four to find the length of each side.

24/4 = 6

Each side is 6.
By looking at the picture, one side of the square, is the length of the radius.

The radius of the square is 6.

The only thing left to do is to find the circumference.
The circumference formulas are:

C = \pid
C = 2\pir

We can use the first one Diameter x pi (3.14)
To find the diameter we would just multiply the radius by two.

6 x 2 = 12

Diameter = 12

So multiply it by pi

12 x 3.14 = 37.68
or D 12\pi



7 0
3 years ago
List 3 reasons you listen to music and tell how each influences your mood.
ANTONII [103]

Answer: It provides a total brain workout.” Research has shown that listening to music can reduce anxiety, blood pressure, and pain as well as improve sleep quality, mood, mental alertness, and memory.

6 0
3 years ago
Other questions:
  • The number of subscribers y to a website after t years is shown by the equation below.
    12·2 answers
  • on a map the distance between two towns is 4inches .The actual distance between the towns is 380 miles.What is the scale of the
    14·1 answer
  • Please help me, I need help I don’t know what to do. Last question.
    11·2 answers
  • What is the product of 1/8 x √8?!​
    11·2 answers
  • Simplify the number using the imaginary unit i.<br><br> −144‾‾‾‾‾√
    14·2 answers
  • 15. MODELING REAL LIFE You use a computer
    15·1 answer
  • Solve y^3+x^3=(y+x)(y^2-yx+x^2) if x=2 and y=8
    7·1 answer
  • Anyone know how to work this out -2p-5=-37
    15·1 answer
  • Help!!!!! Will gib brainliest!
    10·1 answer
  • G(x) =2x-7 find g(5)
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!