X= -2
look at the 6x-12 you divide -12 by 6 and get x=-2
Answer:
x = -11/2
Step-by-step explanation:
The ratios need to stay the same
5x 11
----- = -------
x-2 3
Using cross products
5x*3 = (x-2) 11
15x = 11x - 22
Subtract 11 from each side
15x-11x = -22
4x = -22
x = -22/4
x = -11/2
The sum of a trapezoid is 360 degrees
45+90+90+x=360
45+180+x=360
225+x=360
x=135
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:
1
Step-by-step explanation:
i= -1