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
Can Someone Help me please? Thank you! :D
Misha Larkins [42]

Answer:

The correct answer is B

Step-by-step explanation:

We want it to be less than 100 not equal to so that scratches out C and D, and it says per person so we know it means multiplication therefore our answer is B

✩brainliest appreciated✩

8 0
3 years ago
Which of the following is an example of a function?
Leokris [45]
A. Not a function since we have the points (-1,0) and (-1,3). The x value repeats while the y values are different. Plugging in x = -1 leads to multiple outputs, which shows we don't have a function. To get a better visual, you can plot the points. You'll see that the points form a vertical line. Therefore, this graph fails the vertical line test. 

B. This is a function. All of the x values are different. The points, when graphed, pass the vertical line test. In other words, its impossible to draw a vertical line through any two points on the graph. Any x input here leads to exactly one y output.

C. This is not a function. Like choice A, we have repeated x values. In this case we have (4,6) and (4,7). The x value x = 4 repeats itself leading to multiple outputs y = 6 and y = 7

D. This is also not a function. The x value x = 0 repeats itself. The graph fails the vertical line test.

--------------------------------

Answer: Choice B

<span />
4 0
4 years ago
Help Please.. 1 /2x + y = 4 What is the x-intercept? What is the y-intercept?
IgorC [24]

Answer:

x - intercept = 8

y - intercept = 4

Step-by-step explanation:

In order to to find x- intercept, plug y = 0, in the given equation of line.

\frac{1} {2} x+y = 4\\\\\frac{1} {2} x+0 = 4..(plug \: y = 0)\\\frac{1} {2} x = 4\\x = 2\times 4\\x = 8\\\huge \red {\boxed {\therefore x-intercept = 8}}

In order to to find y- intercept, plug x = 0, in the given equation of line.

\frac{1} {2} x+y = 4\\\\\frac{1} {2} \times 0+y = 4..(plug \: x = 0)\\0+y = 4\\y = 4\\\huge \purple {\boxed {\therefore y-intercept = 4}}

8 0
3 years ago
(5x-6)(-x+4) using the box method
Sophie [7]

Answer:

-5x²+26x-24

Step-by-step explanation:

(5x-6)(-x+4)

=5x(-x+4)-6(-x+4)

=-5x²+20x+6x-24

=-5x²+26x-24

4 0
3 years ago
Mr. Jones has three tables in his classroom. Each table has four
natima [27]

Answer:

24

Step-by-step explanation:

you would multiply 3 tables by 4 students, that would be twelve. then 12 times 2, which is 24. Or you could find the pencils by multiplying 2 with 8 and then multiplying by 3. :)

5 0
3 years ago
Read 2 more answers
Other questions:
  • A worker at a frozen yogurt store has 2 3/4 cups of frozen yogurt to give to customers as samples. The workers places 1/16 cup o
    9·1 answer
  • What is an advantage of consuming natural foods instead of dietary supplements?
    9·2 answers
  • How many prime numbers are in are between 1 and 50
    5·1 answer
  • Which of the following represents 48 = 4 x 12 ?
    14·2 answers
  • Cos9xcos4x help me please
    8·1 answer
  • What is an example of a GOOD that can be import or exported?
    14·2 answers
  • How do defined terms and undefined terms relate to each other?
    10·1 answer
  • Bru How many solutions does 3x + 15 = 3 (x + 15)
    13·1 answer
  • Do you find this with synthetic and long divison?
    12·1 answer
  • Please help! I will mark as brainliest IF answer is right. &lt;3
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!