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
Original price: $32 Sale Price: $8 So what is the percent if discount?
lora16 [44]

Answer:

75% discount

hope this helps!

4 0
2 years ago
Choose the correct transformation.
Ber [7]
A, rotated then reflected
4 0
2 years ago
What percent of 863.6 is 380
Aleks04 [339]
Hello there! To solve types of questions like these, we can write and solve a proportion. We are looking for the percentage of 380 out of 863.6. Let's set up the proportion like this: 380/863.6 = x/100. Cross multiply the values in order to get 38,000 = 863.6x. Now, divide each side by 863.6 to isolate the "x". 38,000/863.6 is 44.00185271 or 44 when rounded to the nearest whole number. 380 is appox. 44% of 863.6.
4 0
3 years ago
In the triangle shown below what is the approximate value of x
kumpel [21]

it's a right triangle so you use Pythagoras' theorem.

√28²-14²=

√784 - 196 =

√588

24.24 units (rounded 24.25)

your answer is 24.25 units

5 0
3 years ago
Read 2 more answers
Write an algebraic expression which represents the volume of a cylinder whose radius is 3k and height is 2k + 1.
pickupchik [31]
V=hπr^2

V=(2k+1)π(3k)^2

V=π(2k+1)(9k^2)

V=π(18k^3+9k^2)

V=18πk^3+9πk^2
5 0
3 years ago
Read 2 more answers
Other questions:
  • The number of subscribers y to a website after t years is shown by the equation below:
    11·2 answers
  • Use symmetry to graph the inverse of the function.
    8·1 answer
  • I need help with numbers six and seven of mu geometry homework !!!
    5·1 answer
  • To which place value is the number rounded? 0.799 to 0.8 A ones 6 tenths © hundredths D thousandths thousandths
    5·1 answer
  • Can someone explain similar triangles
    13·1 answer
  • How do you do the probability section?
    5·1 answer
  • Simplify the expression t+2+6t
    5·1 answer
  • If 1 inch equals 50 miles<br>what does 70 inches equal into miles?​
    8·2 answers
  • Select the correct answer
    7·1 answer
  • Dave buys 18 bunches of bananas for $9 for the after school program. Determine how much Patrick will pay for 8 bunches of banana
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!