15. The first step in the production of nitric acid is the oxidation of ammonia over...

15. The first step in the production of nitric acid is the oxidation of ammonia over a platinum catalyst to nitric oxide: 4NH3 + 5O2 ?4NO + 6H2O

Under certain reaction conditions we get 90% conversion of NH3 from a feed of 40 mol/hr NH3 and 60 mol/hr O2

Find the output rate of all species from the reactor

In: Chemistry

Pleast list 4 reasons why a successful capital investment and budgeting process could be described as...

Pleast list 4 reasons why a successful capital investment and budgeting process could be described as the arterial system or nerve center or criticl process for an organization. For illustration, one example might be that "the capital investment budgeting system is the primary way in which critical operating resources flow to the many divisions within the organization. Without operating resources, the divisions within the organization will shut down."

Even just ONE would help!!! Thanks :)

In: Finance

Calculate the [H3O+] of the following polyprotic acid solution: 0.400 M H3PO4.

Calculate the [H3O+] of the following polyprotic acid solution: 0.400 M H3PO4.

In: Chemistry

(minimum of 250 words): In your own words, identify two positive accomplishments of the Reconstruction period...

(minimum of 250 words): In your own words, identify two positive accomplishments of the Reconstruction period (1863-1877) and why they are important to you to you in your individual lived experience; what conditions did these accomplishments have to overcome in order to see the light of day?

In: Operations Management

Write a program in Java that asks a user for one integer between 1 and 10...

Write a program in Java that asks a user for one integer between 1 and 10 (inclusively). Write a switch statement writes out the number in english (i.e. 1 is “one”, etc).

In: Computer Science

In detail discuss what the slutsky equation is and it's importance in consumer theory

In detail discuss what the slutsky equation is and it's importance in consumer theory

In: Economics

Encode Diffie Hellamn exchange in software by writing a small program that accepts the values of...

Encode Diffie Hellamn exchange in software by writing a small program that accepts the values of p and g, and randomly generates the secret numbers SA and SB, and derives the Diffie Hellman secret.

Test it on the following examples:

p = 11, g = 13

p = 7, g = 17

p = 17, g = 13

In: Computer Science

A 12.0m uniform beam is hinged to a vertical wall and held horizontally by a 5.00m...

A 12.0m uniform beam is hinged to a vertical wall and held horizontally by a 5.00m cable attached to the wall 4.00m above the hinge, as shown in the figure below (Figure 1) . The metal of this cable has a test strength of 1.00kN , which means that it will break if the tension in it exceeds that amount.

What is the heaviest beam that the cable can support with the given configuration?

Find the horizontal component of the force the hinge exerts on the beam.

Find the vertical component of the force the hinge exerts on the beam.

In: Physics

Java 3. Describe the divide-and-conquer search algorithm and explain its efficiency. Consider two different Split functions:...

Java

3. Describe the divide-and-conquer search algorithm and explain its efficiency. Consider two different Split functions: Split = Lo, and Split = (Lo + Hi) / 2. Draw the trees of recursive calls. Assume that we are searching a large data base with 4 million items represented as an ordered array. How many probes into the list will the binary search require before finding the target or concluding that it cannot be found? Assume that it takes 1 microsecond to access an item, estimate the execution time of the binary search.

In: Computer Science

You have been approached by the Statistics Canada to create a C# program to calculate the...

You have been approached by the Statistics Canada to create a C# program to calculate the average salary of people with university degrees, college diplomas, and high school diplomas. Using a while loop, you are to process salary data until the user indicates that you should stop (there could be 0 or more data values). For each person processed, the program must first input an education type (char edType) (‘U’ or ‘u’ for university degrees, ‘C’ or ‘c’ for college diplomas, and ‘H’ or ‘h’ for high school) and then a salary (double salaryData). The program stops accepting input when the user enters a ‘Q’ or ‘q’ for quit (use a sentinel value while loop). Your main data processing loop should be conditioned on the fact that the user has not signalled quit. It might look something like:

while(char.ToUpper(edType) != ‘Q’)

This implies that like any sentinel value loop, you must seed the loop (input a value) PRIOR to entering the loop. Inside the loop the salary data is entered and processed. Once the main loop terminates, the average salary for each of the three education types should be printed out. Be sure to print an error message if the user enters an invalid education type or a negative salary.

In: Computer Science

What are the causes of terrorism? What efforts is the U.S. government making to prevent and...

What are the causes of terrorism? What efforts is the U.S. government making to prevent and control the spread of domestic terrorism and international terrorism? What do you think should be done that is not being done presently to help stop terrorism? ​

In: Psychology

What are the parts of the dye molecules that affect the Rf of the spots as...

What are the parts of the dye molecules that affect the Rf of the spots as they move up the tlc plate? Please list several and explain why using Lewis structures.

In: Chemistry

You are planning to buy a luxurious car. The retail price of the car is $65,000....

You are planning to buy a luxurious car. The retail price of the car is $65,000. Fox Auto is making you the following offer: You pay $10,000 down and then $2,000 a month for next 30 months. The APR is 12 percent (compounded monthly). This offer is equivalent to a _____ off the retail price (when paid in cash today).

In: Finance

Suppose there are 2 countries A and B. each country can produce two goods X and...

Suppose there are 2 countries A and B. each country can produce two goods X and Y. each country has 100 work units allocated to the production of goods X and Y Lx + Ly = 100
export the production capacity curves (PPFa, PPFb) for countries A and B

In: Economics

C++ #include <iostream> using namespace std; struct Node {     int data;     Node* next;   ...

C++

#include <iostream>

using namespace std;

struct Node {
    int data;
    Node* next;
  
    Node(){
        data = 0;
        next = NULL;
    }
  
    Node(int x){
        data = x;
        next = NULL;
    }
};


struct LinkedList {
    Node* head;
  
    LinkedList(){
        head = NULL;
    }
  
    void append(int value){
      
        if (head == NULL){
            head = new Node(value);
        }
        else{
          
            Node* newNode = new Node(value);
          
            Node* temp = head;
            while(temp->next != NULL){
                temp = temp->next;
            }


            temp->next = newNode;
        }
    }
  
    void insertAt(int index, int value) {
        // Provide your code here
    }
  
    int getValue(int index){
        // Provide your code here
    }
  
    void setValue(int index, int value){
        // Provide your code here
    }
  
    void print (){
        Node* temp = head;
      
        while (temp != NULL) {
            cout << temp->data << endl;
            temp = temp->next;
        }
    }
  
    ~LinkedList(){
        Node* temp = head;
      
        while(temp != NULL){
            temp = temp->next;
            delete head;
            head = temp;
        }
    }
};


int main(int argc, const char * argv[]) {
  
    LinkedList myList;
  
  
    for (int i = 0; i < 6; i++) {
        myList.append(i);
    }
  
    myList.insertAt(2, 77);
  
    myList.insertAt(10, 89);
  
    myList.append(101);
  
    myList.setValue(0, 11);
  
    cout << myList.getValue(2) << endl << endl;
  
    myList.print();
  
    //    Expected output:
    //    77
    //
    //    11
    //    1
    //    77
    //    2
    //    3
    //    4
    //    5
    //    0
    //    0
    //    0
    //    89
    //    101
  
    return 0;
}

The first function you are being asked to implement is int getValueAt(int index) . This function simply returns the value that appears in the array position specified by index .

The second function is void setValueAt(int index, int value) . Its job is to store value in the array position corresponding to index .

The last function to implement is void insertAt(int index, int value) . As the name suggests, it needs to insert the value at the index. It should not overwrite anything. If there is already a something stored at index , it should be shifted to the right. If index is larger than the current size of the list, then it needs to be resized in order to accomodate. If there is a gap between the old size of the list, and the newly inserted value, that gap should be filled with 0s

In: Computer Science