Answer:
1.Choose a clear central message 2. Embrace conflict 3.Have a clear structure
Explanation:
Big-O notation is a way to describe a function that represents the n amount of times a program/function needs to be executed.
(I'm assuming that := is a typo and you mean just =, by the way)
In your case, you have two loops, nested within each other, and both loop to n (inclusive, meaning, that you loop for when i or j is equal to n), and both loops iterate by 1 each loop.
This means that both loops will therefore execute an n amount of times. Now, if the loops were NOT nested, our big-O would be O(2n), because 2 loops would run an n amount of times.
HOWEVER, since the j-loop is nested within i-loop, the j-loop executes every time the i-loop <span>ITERATES.
</span>
As previously mentioned, for every i-loop, there would be an n amount of executions. So if the i-loop is called an n amount of times by the j loop (which executes n times), the big-O notation would be O(n*n), or O(n^2).
(tl;dr) In basic, it is O(n^2) because the loops are nested, meaning that the i-loop would be called n times, and for each iteration, it would call the j-loop n times, resulting in n*n runs.
A way to verify this is to write and test program the above. I sometimes find it easier to wrap my head around concepts after testing them myself.
Answer:
Water
Explanation:
A verb describes an action, an occurrence, or a state of being. Watering is an action.
Answer:
The options are not being given. However, we can place the $ sign in front of letter or number we make it constant across the rows or across the columns. By $B we mean, the column will remain same as B as we move across the rows down or up, and by $6 we mean the row will remain fixed to 6 as you move right or left of the cell where you place $6.
Thus, B$6 + C1,will change to below as you move down:
B$6 + C2
B$6 + C3
B$6 + C5
...... and so on.
and if we move left, it will become:
C$6 +D6
D$6 +E6
E$6 +F6
.........and so on.
Please keep an eye on the letter and number, the way they change in each condition, like if its B the next is C irrespective of columns where the next column starts.
Explanation:
The answer is self explanatory.
The fraction of shipments that will be accepted is 0.1299.
<h3>
How to calculate the probability?</h3>
Probability of a defective DVD = 0.04
Using Binomial distribution,
Fraction of shipments accepted = Probability of zero defects in sample of 50 = P(X = 0)
= 50C0 * 0.040 * (1 - 0.04)⁵⁰
= 0.96⁵⁰
= 0.1299
Fraction of shipments accepted = Probability of zero or one defects in sample of 50 = P(X = 0) + P(X = 1)
= 50C0 * 0.040 * (1 - 0.04)50-0 + 50C1 * 0.041 * (1 - 0.04)50-1
= 0.9650 + 50 * 0.04 * 0.9649
= 0.4005
Learn more about probability on:
brainly.com/question/24756209
#SPJ1