Answer:
- number of multiplies is n!
- n=10, 3.6 ms
- n=15, 21.8 min
- n=20, 77.09 yr
- n=25, 4.9×10^8 yr
Step-by-step explanation:
Expansion of a 2×2 determinant requires 2 multiplications. Expansion of an n×n determinant multiplies each of the n elements of a row or column by its (n-1)×(n-1) cofactor determinant. Then the number of multiplies is ...
mpy[n] = n·mp[n-1]
mpy[2] = 2
So, ...
mpy[n] = n! . . . n ≥ 2
__
If each multiplication takes 1 nanosecond, then a 10×10 matrix requires ...
10! × 10^-9 s ≈ 0.0036288 s ≈ 0.004 s . . . for 10×10
Then the larger matrices take ...
n=15, 15! × 10^-9 ≈ 1307.67 s ≈ 21.8 min
n=20, 20! × 10^-9 ≈ 2.4329×10^9 s ≈ 77.09 years
n=25, 25! × 10^-9 ≈ 1.55112×10^16 s ≈ 4.915×10^8 years
_____
For the shorter time periods (less than 100 years), we use 365.25 days per year.
For the longer time periods (more than 400 years), we use 365.2425 days per year.
The general form of the equation we need to find is (x - h)^2 = 4p(y- k).
The center is the distance between the directrix and focus.
So, center (h, k) = (3, 3/2) .
P = distance from center to the focus and it just so happens to be 1.5.
We now plug everything into the formula given above.
(x - 3)^2 = 4(1.5)(y - 3/2)
(x - 3)^2 = 6(y - 3/2)
Done!
Answer:
Katie is 6 years old and Thomas is 3 years old
Step-by-step explanation:
Given that we should let K and T be the current ages of two siblings, Katie and Thomas.
If Katie is currently twice the age of Thomas then,
K = 2T
and in 6 years, Katie will be 4 times Thomas's current age then
K + 6 = 4T
Solving both equations simultaneously by substituting the value of K given in the first equation into the second
2T + 6 = 4T
Collect like terms
6 = 4T - 2T
6 = 2T
Divide both sides by 2
T = 3
Recall that K = 2T
K = 2 * 3
= 6
Hence Katie is 6 years old while Thomas is 3 years old