Answer:
-12
Step-by-step explanation:
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:
Her mother will donate $11.20
Step-by-step explanation:
- $0.40 every 0.75 miles.
- 21 miles biked.
Step 1: Figure out how many 0.75 increments are in 21 miles.
21 ÷ 0.75 = 28
- There are 28 increments of 0.75 in 21 miles.
Step 2: Multiply 28 by $0.40
28 * $0.40 = $11.20
Answer:
a
Step-by-step explanation:
(-4 1/2) / (-2 2/3) =.....turn to improper fractions
(- 9/2) / (-8/3) =...when dividing fractions, flip what u r dividing by, then multiply
-9/2 * -3/8 =
27/16 =
1 11/16 <==