In: Operations Management
C++ Question
Create two circular linked lists and find their maximum numbers. Merge the two circular linked lists such that the maximum number of 2nd circular linked list immediately follows the maximum number of the 1st circular linked list.
Input:
12 -> 28 -> 18 -> 25 -> 19-> NULL
5 -> 24 -> 12 -> 6 -> 15-> NULL
Output:
28 -> 24-> 25 -> 15 -> 19 -> 15->5-> 18 -> 25 -> 19->NULL
Note:- Code should work on MS-Visual studio 2017 and provide output along with code
In: Computer Science
In: Operations Management
Apply following to header and footer sections of page:
center text
background color rgb(254,198,179)
padding should be 20px
In: Computer Science
Discuss the four main yogas/spiritual pathways to liberation followed by Hindu believers and provide examples of each when appropriate
In: Psychology
Describe/define/explain
a. The relationship between Java's Iterable and Iterator
interfaces
b. An inner class
c. An anonymous inner class
d. The functionality of an Iterator remove method
In: Computer Science
could you give a detailed explanation and example of each of the following phrases : prepositional, infinitive, gerund, and participle ?
In: Psychology
What one major organizational subsystem needs to be changed in Costco? Justify your choice. How does it compare to a similar successful organization?
Please Help
In: Operations Management
Assignment details
In: Computer Science
In: Operations Management
Helmholtz coils are frequently used in experiments because they create a uniform magnetic field about their central axis. For example, they are traditionally used in the experiment for the measurement of the charge‑to‑mass ratio of the electron. Helmholtz coils are two coils separated by a distance equal to their radius and also carry equal currents in the same direction, as shown in the figure. Suppose the radius of the coils is ?=16.50 cm R=16.50 cm and each coil carries a current of ?=15.50 AI=15.50 A and has ?=500.0 turns.N=500.0 turns. The coils are in the ??yz plane where one coil's center is at ?=0 x=0 the other coil's center is at ?=?.x=R.
Using the Biot–Savart law, determine the expression for the resultant magnetic field ??Bx along the line ?x joining their centers. Express the magnetic field in terms of the radius of the coils ?,R, the number of turns ?,N, the current ?,I, ?,x, and the permeability of free space, ?0.
Bx= ?
Evaluate the magnetic field ??Bx at ?=4.125 cm x=4.125 cm (14?)(14R) and ?=12.38 cm x=12.38 cm (34?).
In: Physics
True False
|
The enqueue and dequeue operations in a priority queue take O(lg n) time, while linked list and array implementations take O(1) time. |
||
|
A binary heap is a (nearly) complete binary tree. |
||
|
Heaps usually use a linked node structure for implementation. |
||
|
When implementing heaps as arrays, you can leave a blank space at the front. If you do, the parent of a node at index i can be found at index floor(i/2). |
||
|
When implementing heaps as arrays, if you don't leave a space at the front, you can find the children of the node at index i at 2i and 2i+1. |
||
|
The heap order property states that each node must contain a value greater than its left child and less than its right child. |
||
|
Insertion in a heap is done by adding at the end of the array and "percolating up". |
||
|
The average case for insertion in a heap is O(lg n). The worst case is O(n). |
||
|
Deletion in a heap requires removing the root item and shifting all other items over one space. |
||
|
Building a heap by adding values one at a time is an O(n) operation. Building a heap "all at once" with the heapify() method (called buildHeap() in the textbook) is O(n lg n). |
In: Computer Science
Suppose that you have just borrowed $250,000 in the form of a 30 year mortgage. The loan has an annual interest rate of 9% with monthly payments and monthly compounding.
*** I NEED TO KNOW HOW TO SOLVE THIS ON A CALCULATOR. i AM USING A HP-10B2+
a. What will your monthly payment be for this loan?
b. What will the balance on this loan be at the end of the 12th year?
c. How much interest will you pay in the 7th year of this loan?
d. How much of the 248th payment will consist of principal?
In: Finance
In: Finance
I need to implement a code in python to guess a random number. The number must be an integer between 1 and 50 inclusive, using the module random function randint. The user will have four options to guess the number. For each one of the failed attempts, the program it should let the user know whether is with a lower or higher number and how many tries they have left. If the user guess the number, the program must congratulate the user and tell him how much he won. If you are a user, hit on the 1st attempt He wins first $ 100, on the second $ 75, on the third $ 50, on the fourth $ 25. If the user misses all four opportunities, the program must inform the user that he owes money $ 60 and what was the number that the computer generates randomly.
In: Computer Science