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
72.3 + (-39.1)
joja [24]

Answer:

72.3 - 39.1 = 4tens - 7ones + 2tenth

Step-by-step explanation:

Give the expression 72.3 + (-39.1)

opening the parenthesis:

= 72.3 + (-39.1)

= 72.3 - 39.1

Breaking the decimal values into place values

72.3 = 7tens + 2units + 3tenth

72.3 = 7(10)+2(1)+3(1/10)

72.3 =70+2+0.3

Similarly for 39.1

39.1 = 3tens + 9units + 1tenth

39.1 = 3(10)+9(1)+1(1/10)

39.1 =30+9+0.1

72.3 - 39.1 = 70+2+0.3 - (30+9+0.1)

72.3 - 39.1 = 70+2+0.3 - 30-9-0.1

72.3 - 39.1  = 70-30+2-9+0.3-0.1

72.3 - 39.1 = 40 - 7 +0.2

72.3 - 39.1 = 4tens - 7ones + 2tenth

3 0
3 years ago
A new restaurant with 134 seats is being planned. Studies show that 62​% of the customers demand a​ smoke-free area. How many se
zzz [600]

Answer: 100

Step-by-step explanation:

Given : The total number of seats planned in new restaurant =134

The percentage of customers demand a​ smoke-free area = 62%

It can also be written as 62\%=\dfrac{62}{100}=0.62

The mean of this binomial distribution will be :-

\mu=np\\\\\mu=(134)(0.62)=83.08

Standard deviation:-

\sigma=\sqrt{np(1-p)}\\\\\Rightarrow\sigma=\sqrt{134(0.62)(0.38)}\approx5.6

Now, the number of seats should be in the​ non-smoking area in order to be very sure ​of having enough seating​ there :-

\mu+3\sigma=83.08+3(5.6)=99.88\approx100

4 0
3 years ago
Pls help me with this
katovenus [111]

Answer:

5.85

Step-by-step explanation:

100%-> 6.50

100%-10% = 90 %

90%-> 6.50/100 x 90

           =5.85

8 0
3 years ago
Answer with explanation plz
Nostrana [21]
The answer is 78.5 because the formula to find area is πr2 so the radius is 5ft π is 3.14 so 3.14 times 5 and the 2 on top of r means the u have to do 5 times 5 which is 25 now it's real simple do 3.14 times 25 which is 78.5 I HOPE THIS HELPS=)
7 0
3 years ago
T
Rus_ich [418]

Answer:

OA

Step-by-step explanation:

yax2;

12+34+5+6=21 so y2+35

4 0
2 years ago
Other questions:
  • The juniors and seniors of Lawrence Lawrence highschool are required to enroll in one fine arts elective each year
    15·2 answers
  • Find the distance represented by 2.6 in. if the scale 1 in. = 50 mi. is used.
    11·1 answer
  • HELP ASAP PLEASE!!
    10·1 answer
  • Complete the solution of the equation. Find the value of y when x equals -4 <br> x + 3y = 14
    15·1 answer
  • PLEASE HELP
    11·1 answer
  • Find two numbers whose sum is -2 and whose difference is -8
    13·1 answer
  • If I buy one 6-pack of soda can fizzy candy for $1.25 Then how much will it be if I bought 25 6-packs of the candy.
    10·2 answers
  • 3. In the fig. AD = DC and AB = BC. Prove that ΔADB = ΔCDB<br>​
    11·1 answer
  • What part of a<br>a dozen is 8?​
    6·2 answers
  • How would you solve x^3=8
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!