a) 170.00 =8n -30
200= 8n
n = 200/8 = 25 items
b) since the expenses increased the profits would decrease
profit = 8(25)-40 = 200-40 = 160
170-160 = 10.00
profit decreased by $10.00
The answer is b, I’m not saying it’s true but just predicting xoxoox
Assuming a d-heap means the order of the tree representing the heap is d.
Most of the computer applications use binary trees, so they are 2-heaps.
A heap is a complete tree where each level is filled (complete) except the last one (leaves) which may or may not be filled.
The height of the heap is the number of levels. Hence the height of a binary tree is Ceiling(log_2(n)), for example, for 48 elements, log_2(48)=5.58.
Ceiling(5.58)=6. Thus a binary tree of 6 levels contains from 2^5+1=33 to 2^6=64 elements, and 48 is one of the possibilities. So the height of a binary-heap with 48 elements is 6.
Similarly, for a d-heap, the height is ceiling(log_d(n)).
Answer:
The base is 19.5.
Step-by-step explanation:
The given question is, "The perimeter of a rectangle is 58 and its base exceeds its width by 10, how long is the base?"
Perimeter = 58
Base, l = 10+b
The perimeter of a rectangle is :
P = 2(l+b)
58 = 2(10+b+b)
29 = (10+2b)
29-10 = 2b
19 = 2b
b = 9.5
Base, l = 10 + 9.5
= 19.5
Hence, the base is 19.5.
He paid 3.19 per gallon both times......first time he bought 12.53 gallons....next time he bought 11.86 gallons
so ur expression is : 3.19(12.53 + 11.86)