Let 3x3 matrix A = -3 0 -4
0 5 0
-4 0 3
a) Find the eigenvalues of A and list their multiplicities.
b) Find a basis, Bi, for each eigenspace, E(i).
c) If possible, diagonalise matrix A. (i.e find matrices P and D
such that Pinv AP = D is diagonal).
Create a JAVA lottery game application. Generate four
random numbers, each between 0 and 9 (inclusive). Allow
the user to guess four numbers. Compare each of the
user’s guesses to the four random numbers and display a message
that includes the user’s guess, the randomly determined four-digit
number, and the amount of points the user has won as follows:
No matches
0 points
Any one digit matching
5 points
Any two digits matching
100 points
Any three digits matching
2,000 points
All four...
Given the matrix as shown below
n_array =
3 1 8
3 5 7
4 9 2
Write a M-file script program that generates this n_array, and
answer each question using one line of MATLAB statement.
a) Replace the second column of the n_array with a column of
0s
b) Replace the element in the second-row, third-column with a
zero
c) Change the n_array to a 4 x 3 array by adding a row of 0s
The end result for...
Problem 3:
Find the equilibrium distribution for each transition
matrix.
a)
1/2 1/9 3/10
1/3 1/2 1/5
1/6 7/18 1/2
b)
2/5 0 3/4
0 2/3 1/4
3/5 1/3 0
Problem 4:
For either transition matrix in problem 3, find the other two
eigenvalues with corresponding eigenvectors.
Problem 3:
Find the equilibrium distribution for each transition
matrix.
a)
1/2 1/9 3/10
1/3 1/2 1/5
1/6 7/18 1/2
b)
2/5 0 3/4
0 2/3 1/4
3/5 1/3 0
Problem 4:
For either transition matrix in problem 3, find the other two
eigenvalues with corresponding eigenvectors.
In each case, determine a 3 × 3 matrix ? that fits the
description. Justify that the conditions are met in each case.
(a) Matrix ? has rank 1 and ? + ? is not invertible.
(b) Matrix A is symmetric and the null space of ? is a
point.
I
have a 3-D matrix with (100,100,100) elements in Matlab, but it
exceeds the limit of display. I want to extract those values from
Matlab to excel. I want to know how to extract all the data
values?
Question 1
(Amounts are 14% VAT inclusive, where applicable. All calculations
are to be done to the nearest cent)
Required
Record the transactions in the correct subsidiary journals, post to
the general
ledger, debtors ledger and creditors ledger, and draw up a trial
balance.
On 1 January 2007, Pets Traders had the following
balances:
Stock R1...
1. Consider a biased dice, where the probability of rolling a 3
is 4 9 . The dice is rolled 7 times. If X denotes the number of 3’s
thrown, then find the binomial distribution for x = 0, 1, . . . 7
and complete the following table (reproducing it in your written
solutions). Give your answers to three decimal places.
x
0
1
2
3
4
5
6
7
Pr(X=x)
2. The Maths Students Society (AUMS) decides to...