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.
Answer:
I don't think you typed the full problem, but the answer is either that you do the parenthesis first, or that it adds to 10
Step-by-step explanation:
<h2>
Answer:The number of milk chocolates are 18 and the number of dark chocolates are 24.</h2>
Step-by-step explanation:
Let the number of milk chocolates be
.
Let the number of dark chocolates be
.
Given that the box contains the milk and dark chocolates in the ratio
.
So,
...(i)
Given that the total number of chocolates are
.
So,
. ...(ii)
Using (i) and (ii),




So,the number of milk chocolates are
and the number of dark chocolates are
.
Answer:
35 feet.
Step-by-step explanation:
To find this, we will need to use the Pythagorean theorem to solve for the diagonal length. Call this diagonal length 'd'.
d² = 21² + 28²
d² = 1225
d² = 35.
Thus, the diagonal length is 35 feet.