1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
slavikrds [6]
3 years ago
15

Toe divided by 3 george washingtons = I NEED HELP

SAT
2 answers:
EleoNora [17]3 years ago
6 0

Answer:

0.6666

Explanation:

i didnt really know

mash [69]3 years ago
4 0
What do you mean in this question?
You might be interested in
Similarities between single storey and multi storey storehouse ?
ValentinkaMS [17]

that is whysjjsnsjs

i am dum

6 0
3 years ago
What observation about baking powder suggests that it is a mixture of substances?
Leya [2.2K]
Baking powder is primarily used as a leavening agent in baked goods and products. It is a combination of cornstarch, cream of tartar and baking soda. The main observation that suggests that it is a mixture of substances is that fact that it produces a gas which facilitates the rising of the baked goods.
3 0
3 years ago
I need help. I really, don't know how to study and I worry because pretty soon I'm going to high school. Those are the grades lo
Lady bird [3.3K]
Do not take much tension
6 0
3 years ago
Read 2 more answers
Once you have your heap structure created, next you must use it as a backing structure to a priority queue. Develop a PriorityQu
saveliy_v [14]

Using the knowledge in computational language in python it is possible to write a code that Develop a PriorityQueue data structure in a file.

<h3>Writting the code in python:</h3>

<em>import sys</em>

<em>class Node:</em>

<em>def __init__(self,key):</em>

<em>self.left = None</em>

<em>self.right = None</em>

<em>self.val = key</em>

<em>self.parent = None</em>

<em>class MinHeap:</em>

<em>def __init__(self, maxsize):</em>

<em>self.maxsize = maxsize</em>

<em>self.size = 0</em>

<em>self.Heap = Node(-1 * sys.maxsize )</em>

<em>self.FRONT = self.Heap</em>

<em># A utility function to do inorder tree traversal</em>

<em>def isLeaf(self, node):</em>

<em>if node.left == None and node.right == Node:</em>

<em>return True</em>

<em>return False</em>

<em># Function to swap two nodes of the heap</em>

<em>def swap(self, node1, node2):</em>

<em>node1.data, node2.data = node2.data, node1.data</em>

<em># Function to heapify the node at pos</em>

<em>def minHeapify(self, node):</em>

<em># If the node is a non-leaf node and greater</em>

<em># than any of its child</em>

<em>if not self.isLeaf(node):</em>

<em>if (node.data > node.left.data or</em>

<em>node.data > node.right.data):</em>

<em># Swap with the left child and heapify</em>

<em># the left child</em>

<em>if node.left.data < node.right.data:</em>

<em>self.swap(node, node.left)</em>

<em>self.minHeapify(node.left)</em>

<em># Swap with the right child and heapify</em>

<em># the right child</em>

<em>else:</em>

<em>self.swap(node, node.right)</em>

<em>self.minHeapify(node.right)</em>

<em># Function to insert a node into the heap</em>

<em>def insert(self, element):</em>

<em>if self.size >= self.maxsize :</em>

<em>return</em>

<em>self.size+= 1</em>

<em>self.bst_insert(FRONT, element)</em>

<em>current = FRONT</em>

<em>while current.parent != None and current.data < current.parent.data:</em>

<em>self.swap(current, current.parent)</em>

<em>current = current.parent</em>

<em># Function to print the contents of the heap</em>

<em>def Print(self):</em>

<em>self.inorder()</em>

<em># Function to build the min heap using</em>

<em># the minHeapify function</em>

<em>def inorder(self, root):</em>

<em>if root:</em>

<em>inorder(root.left)</em>

<em>print(root.val)</em>

<em>inorder(root.right)</em>

<em>def bst_insert(self, root, node):</em>

<em>if root is None:</em>

<em>root = node</em>

<em>else:</em>

<em>root.next = node</em>

<em>self.FRONT = node</em>

<em># Driver Code</em>

<em>if __name__ == "__main__":</em>

<em>r = Node(50)</em>

<em>bst_insert(r,Node(30))</em>

<em>bst_insert(r,Node(20))</em>

<em>bst_insert(r,Node(40))</em>

<em>bst_insert(r,Node(70))</em>

<em>bst_insert(r,Node(60))</em>

<em>bst_insert(r,Node(80))</em>

<em># Print inoder traversal of the BST</em>

<em>inorder(r)</em>

<em>print('The minHeap is ')</em>

<em>minHeap = MinHeap(15)</em>

<em>minHeap.insert(5)</em>

<em>minHeap.insert(3)</em>

<em>minHeap.insert(17)</em>

<em>minHeap.insert(10)</em>

<em>minHeap.insert(84)</em>

<em>minHeap.insert(19)</em>

<em>minHeap.insert(6)</em>

<em>minHeap.insert(22)</em>

<em>minHeap.insert(9)</em>

<em>minHeap.minHeap()</em>

<em>minHeap.Print()</em>

<em>print("The Min val is " + str(minHeap.remove()))</em>

See more about python at brainly.com/question/13437928

#SPJ1

6 0
1 year ago
Name one example of when jesus forgave sinners in his public ministry
Ugo [173]
Hello there!

One example when Jesus forgave sinners in his public ministry is when He forgave and healed a paralyzed man (Matthew 9:1-8). 

The account is told in Matthew 9. Some men brought to Him a paralyzed man lying on a mat. Jesus then told the man "Take heart,<span> son; your sins are forgiven.” (Matt 9:2).

Some Jews were mumbling to themselves, saying that Jesus was blaspheming, but then He said "</span>Which is easier: to say, ‘Your sins are forgiven,’ or to say, ‘Get up and walk’?<span> " (Matt 9:5).

To demonstrate that He had authority to forgive sinners, he commanded the man to get up and walk, and the man got up and went home. The crowd was filled with awe for this great miracle and demonstration of power. 

Have a nice day!</span>
7 0
2 years ago
Other questions:
  • The Occupational Safety and Health Administration requires employers to provide fall protection to construction workers who are
    10·1 answer
  • Compared to its orbital period, how long is the moon's rotational period? A. twice as long B. half as long C. exactly the same D
    15·1 answer
  • What is a few sentances with words eaves and legacy.
    6·1 answer
  • What happens to acids and bases during neutralization?
    9·1 answer
  • Marty and Jonas are spending the week at the beach. The ultraviolet rays in their skin are electromagnetic waves from the sun, a
    10·2 answers
  • Explain how the four schedules of partial reinforcement work.
    6·1 answer
  • Is the statement true or false? queen victoria reigned for more than sixty years and promoted the "victorian" values of duty, ha
    10·1 answer
  • A global clothing manufacturing company often develops
    15·1 answer
  • How are rivers and streams able to keep algae from growing
    11·1 answer
  • baker, schultz, and halstead argue that the united states could exploit significant strategic and economic gains if it invests i
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!