<3 +<4= 180
<3+25+52=180 from here <3=180-77=103
using this in first equation: 103+<4=180 <4=180-103=77
as you can see <4=77 which is the the sum of 25+52
Answer:
f(N) = 2+ N/2 + 6N² units of time.
Step-by-step explanation:
Assigning 0 to the variable sum takes one unit of time.
Each time you increment sum by B, you need to call the value of sum, sum it to B and assign it to sum, which takes three units of time in total. You are repeating this process for each value of B which ranges from 1 to 4n and for each value of A which ranges from 1 to n/2. Opening the FOR takes also another unit of time, so, as a result, we have
f(N) 1 + 1 (open the FOR in A)+ N/2*(1 (open the FOR in B) + 4N*3) = 2+ N/2 + 6N² units of time. It has order complexity O(N²).
Answer:
0.9355
Step-by-step explanation:
What we will use here is conditional probability formula.
let A be the event that the plane departs on time
and B be the event that it arrives on time
P(A) = 0.87
P(B|A) = 0.93
P(B) = ?
P(A n B) = ?
Mathematically;
P(B|A) = P(B nA)/P(A)
0.93 = 0.87/P(A)
P(A) = 0.87/0.93
P(A) = 0.935483870967742
which is 0.9355 to four decimal places
Plug in any value for x and then you will get y. Use the coordinates to plot.
Example
x= 2
5/2(2)-6
5-6
-1
(2,-1)
Then continue to do the same.