Questions
1. Consider Consumers A, B, and C with the following preferences over two goods. UA (x1,x2)...

1. Consider Consumers A, B, and C with the following preferences over two goods.

UA (x1,x2) = x12x23

UB (x1,x2) = 2x1+3x2

UC (x1,x2) = min{2x1,3x2)

The prices given are p1, p2 and income for each consumer is m.

Solve for the Engel curves for each consumer.

please be very detailed, thank you!

In: Economics

Consider two solutions, the first being 50.0 mL of 1.00 M CuSO4 and the second 50.0...

Consider two solutions, the first being 50.0 mL of 1.00 M CuSO4 and the second 50.0 mL of 2.00 M KOH . When the two solutions are mixed in a constant-pressure calorimeter, a precipitate forms and the temperature of the mixture rises from 21.5 ∘C to 27.7 ∘C .

From the calorimetric data, calculate ΔH for the reaction that occurs on mixing. Assume that the calorimeter absorbs only a negligible quantity of heat, that the total volume of the solution is 100.0 mL , and that the specific heat and density of the solution after mixing are the same as that of pure water.

In: Chemistry

How did the 2008 financial crisis affect the united states employment rate ( 500 Words )

How did the 2008 financial crisis affect the united states employment rate ( 500 Words )

In: Economics

1. Add the function int getNodeLevel (T value) to the Binary Search Tree class provided below....

1. Add the function int getNodeLevel (T value) to the Binary Search Tree class provided below. The function should return the level of the node value in the Binary Search Tree.

Hint:

Set currentNode to root

Initialize level = 0

while currentNode != Null

         if currentNode element = value return level

         else move to either the right child or the left child of the currentNode, update the loop, and repeat the loop

Function should return -1 if value is not in the tree

#include <iostream>
#include <vector>
using namespace std;

//****** The Node class for the Binary Search Tree ******
template<typename T>
class Node
{
public:
        Node();
        Node(T e, Node<T>* r, Node<T>* l);
        T element;          // holds the node element
        Node<T>* right;
        Node<T>* left;
};

//============ implementation of the constructors of the Node
template<typename T>
Node<T>::Node() { right = left = NULL; }

template<typename T>
Node<T>::Node(T e, Node<T>* r, Node<T>* l) { element = e; right = r; left = l; }

//===============  Binart Searct Tree (BST) class ===========

template<typename T>
class BTree
{
public:
        BTree() { root = NULL; }
        BTree(Node<T>* rt) { root = rt; }
        void BSTInsert(T value);
        void BSTRemove(T value);
        Node<T>* & getRoot() { return root; }  // returns the pointer to the root
        Node<T>*  BSTsearch(T value);

private:
        Node<T>* root;   // a pointer to the root of the tree
};

template<typename T>
Node<T>*  BTree<T>::BSTsearch(T value)
{
        // set cur to the tree root, traverse down the tree to find the element.
        // Do not use the root, if you move the root the tree will be lost.
        Node<T>* cur = root;
        while (cur != NULL)
        {
                if (value == cur->element)
                        return cur;
                else if (value < cur->element)
                        cur = cur->left;
                else
                        cur = cur->right;
        }
        return NULL;
}



// traverse down the tree and inserts at the bottom of the tree as a new leaf
template<typename T>
void BTree<T>::BSTInsert(T value)
{
        Node<T>* newNode = new Node<T>(value, NULL, NULL); // dynamically create a node with the given value
        if (root == NULL)    //Empty tree, fisrt node.
                root = newNode;
        else
        {
                Node<T>* r = root;
                while (r != NULL)
                {
                        if (value < r->element)
                        {
                                if (r->left == NULL)
                                {
                                        r->left = newNode; //insert the node 
                                        r = NULL;  // end the loop.
                                }
                                else
                                        r = r->left; // keep going to the left child
                        }
                        else
                        {
                                if (r->right == NULL)
                                {
                                        r->right = newNode;
                                        r = NULL;
                                }
                                else
                                        r = r->right;

                        }
                }
        }
}

//Three cases to consider when removing an element from a BST  
template<typename T>
void BTree<T>::BSTRemove(T value)
{
        Node<T>* parent = NULL;  // Need to track the parent of the node to be deleted
        Node<T>* current = root; // current will point to the node to be deleted
        //find the node to be removed
        while (current != NULL && current->element != value)
        {
                if (value < current->element)
                {
                        parent = current; current = current->left;
                }
                else
                {
                        parent = current; current = current->right;
                }
        }

        if (current != NULL) // The node to be deleted is found
        {
                //Case A : the node is a leaf node
                if (current->left == NULL && current->right == NULL)
                {
                        if (parent->right == current)
                                parent->right = NULL;
                        else
                                parent->left = NULL;
                        delete current;
                }

                //Case B: the node has two children
                // Must find the smalles element in the right subtree of the node, which is
                //found by going to the right child of the node then all the way to the left.
                else if (current->left != NULL && current->right != NULL)
                {
                        Node<T>* succ = current->right; // go to the right child of the node to be removed
                        parent = current;     // initialize parent node
                        if (succ->left == NULL)  // right child of the node has no left child
                        {
                                parent->right = succ->right;
                                current->element = succ->element;
                                delete succ;
                        }
                        else  //otherwise keep going left
                        {
                                while (succ->left != NULL)      // then find the smallest element in the left subtree
                                {
                                        parent = succ;
                                        succ = succ->left;
                                }
                                current->element = succ->element; //Replace the node to be deleted by the succ node
                                parent->left = NULL;  // skip the succ node
                                delete succ;
                        }
                }
                else  // Case C: Node has one child
                {
                if (root->element == value)    //if the node is the root node treat differently
                {
                        cout << "here\n";
                        if (root->right != NULL)
                                root = root->right;
                        else
                                root = root->left;
                }
                else    // a non root node with one child to be removed
                {
                        if (current->left != NULL)
                                parent->left = current->left;
                        else
                                parent->right = current->right;
                }
                delete current;
                }
        }
}

int main()
{
    BTree<int> bst;
    bst.BSTInsert(29);
    bst.BSTInsert(50);
    bst.BSTInsert(78);
    bst.BSTInsert(39);
    bst.BSTInsert(21);

    return 0;
}

In: Computer Science

Using the data on gross (higher) heating values (HHV), estimate the mass of CO2 emitted per:...

Using the data on gross (higher) heating values (HHV), estimate the mass of CO2 emitted per: 1) 1000 SCF of methane; 2) lb of gasoline; 3) ethanol; and, 4) No. 2 heating oil. Also express your answers in mass of CO2 per million Btu of each fuel.

In: Chemistry

Direct Materials, Direct Labor, and Factory Overhead Cost Variance Analysis Mackinaw Inc. processes a base chemical...

Direct Materials, Direct Labor, and Factory Overhead Cost Variance Analysis Mackinaw Inc. processes a base chemical into plastic. Standard costs and actual costs for direct materials, direct labor, and factory overhead incurred for the manufacture of 78,000 units of product were as follows: Standard Costs Actual Costs Direct materials 265,200 lbs. at $5.80 262,500 lbs. at $5.70 Direct labor 19,500 hrs. at $16.20 19,950 hrs. at $16.50 Factory overhead Rates per direct labor hr., based on 100% of normal capacity of 20,350 direct labor hrs.: Variable cost, $4.70 $90,730 variable cost Fixed cost, $7.40 $150,590 fixed cost Each unit requires 0.25 hour of direct labor. Required: a. Determine the direct materials price variance, direct materials quantity variance, and total direct materials cost variance. Enter a favorable variance as a negative number using a minus sign and an unfavorable variance as a positive number. Direct Material Price Variance $ Direct Materials Quantity Variance $ Total Direct Materials Cost Variance $ b. Determine the direct labor rate variance, direct labor time variance, and total direct labor cost variance. Enter a favorable variance as a negative number using a minus sign and an unfavorable variance as a positive number. Direct Labor Rate Variance $ Direct Labor Time Variance $ Total Direct Labor Cost Variance $ c. Determine variable factory overhead controllable variance, the fixed factory overhead volume variance, and total factory overhead cost variance. Enter a favorable variance as a negative number using a minus sign and an unfavorable variance as a positive number. Variable factory overhead controllable variance $ Fixed factory overhead volume variance $ Total factory overhead cost variance $

In: Accounting

Ture or False. 1. Rwanda is an example of how colonialism can be good sometimes. The...

Ture or False.
1. Rwanda is an example of how colonialism can be good sometimes. The social structure supported by colonial powers was important in maintaining peace after Rawanda’s independence.

2. The reason some countries are developed, while others are not, is straightforward.

3. Imagine that I am looking-up values in the A column using values on a table E3:F10. VLOOKUP(A1, $E$3:$F$10,2,TRUE) MAY NOT work in practice.

4. Under the False-Paradigm model, development can be achieved by having students from poor countries earn their education in the developed world.

In: Economics

predict the product of the hydrolysis of (s)-4-bromo-2-pentene

predict the product of the hydrolysis of (s)-4-bromo-2-pentene

In: Chemistry

Most government interventions are designed to modify market outcomes, and the aim is usually to improve...

Most government interventions are designed to modify market outcomes, and the aim is usually to improve economic welfare. However, some interventions are specifically motivated purely by political considerations. For this task, we will consider political intervention in the labour market in Venezuela. This case study comes from the article by: Chang-Tai Hsieh, Edward Miguel, Daniel Ortega, and Francisco Rodriguez. 2011. The Price of Political Opposition: Evidence from Venezuela’s Maisanta, American Economic Journal: Applied Economics 3: 196–214.

http://ezproxy.deakin.edu.au/login?url=http://search.ebscohost.com/login.aspx?direct=true&db=eds jsr&AN=edsjsr.41288634&authtype=sso&custid=deakin&site=eds-live&scope=site.

Note that the analysis in this reference is advanced and you do NOT have to read the entire study to complete the assignment. You should, however, read pages 196-198.

  1. Figure 1 on page 197 of the Hsieh et al. (2011) article shows that over one million voters who signed a petition to remove President Hugo Chávez from office were discriminated against and experienced a drop in their wages and employment. Use demand and supply analysis to illustrate this situation.
  1. With the aid of a diagram, discuss the impact this political event is likely to have had on Venezuela’s production possibilities and economic welfare.

In: Economics

Western State University (WSU) is preparing its master budget for the upcoming academic year. Currently, 12,000...

Western State University (WSU) is preparing its master budget for the upcoming academic year. Currently, 12,000 students are enrolled on campus; however, the admissions office is forecasting a 7 percent growth in the student body despite a tuition hike to $80 per credit hour. The following additional information has been gathered from an examination of university records and conversations with university officials:

  • WSU is planning to award 160 tuition-free scholarships.
  • The average class has 20 students, and the typical student takes 20 credit hours each semester. Each class is four credit hours.
  • WSU’s faculty members are evaluated on the basis of teaching, research, and university and community service. Each faculty member teaches five classes during the academic year.


Required:
1. Prepare a tuition revenue budget for the upcoming academic year.
2. Determine the number of faculty members needed to cover classes.
3. Assume there is a shortage of full-time faculty members. Select at least five actions that WSU might take to accommodate the growing student body by selecting an "X" next to the action.
4. You have been requested by the university’s administrative vice president (AVP) to construct budgets for other areas of operation (e.g., the library, grounds, dormitories, and maintenance). The AVP noted: “The most important resource of the university is its faculty. Now that you know the number of faculty needed, you can prepare the other budgets. Faculty members are indeed the key driver—without them we don’t operate.” Are faculty members a key driver in preparing budgets?

In: Accounting

quick and easy to answer! 1. suppose you are working in a busy lab with multiple...

quick and easy to answer!
1. suppose you are working in a busy lab with multiple people sharing a given analytical balance. if you are weighing something which you will only have to weigh once, such as weighing out a reagent onto some weigh paper, which you immediately use to make a solution. is it OK to use the balance ' tare or zero function to set the vessel tare to zero? why or why not? if not what should be done instead?
2. now suppose you are weighing something thay you will have to weigh again later. for example suppose you are weighing out some sample into a crucible. later in the procedure you will heat the sample in the crucible to partially decompose it and you will need to know the mass of the material thay remains. is it OK to use the balance's zero fun tin to set the tare to zero? why or why not. if not what should you do instead.

In: Chemistry

luStar Company has two service departments, Administration and Accounting, and two operating departments, Domestic and International....

luStar Company has two service departments, Administration and Accounting, and two operating departments, Domestic and International. Administration costs are allocated on the basis of employees, and Accounting costs are allocated on the basis of number of transactions. A summary of BluStar operations follows:

Administration Accounting Domestic International
Employees 25 15 60
Transactions 50,000 10,000 40,000
Department direct costs $ 68,000 $ 24,500 $ 154,000 $ 597,000


BluStar estimates that the cost structure in its operations is as follows:

Administration Accounting Domestic International
Variable costs $ 24,500 $ 5,500 $ 115,000 $ 431,000
Fixed costs 43,500 19,000 39,000 166,000
Total costs $ 68,000 $ 24,500 $ 154,000 $ 597,000
Avoidable fixed costs $ 11,250 $ 3,300 $ 22,500 $ 111,500


Required:

a. If BluStar outsources the Administration Department, what is the maximum it can pay an outside vendor without increasing total costs? (Do not round intermediate calculations.)

Maximum Amount

b. If BluStar outsources the Accounting Department, what is the maximum it can pay an outside vendor without increasing total costs? (Do not round intermediate calculations.)

Maximum Amount

c. If BluStar outsources both the Administration and the Accounting Departments, what is the maximum it can pay an outside vendor without increasing total costs?

Maximum Amount

In: Accounting

A current of 5.42 A is passed through a Ni(NO3)2 solution. How long (in hours) would...

A current of 5.42 A is passed through a Ni(NO3)2 solution. How long (in hours) would this current have to be applied to plate out 5.00 g of nickel? (Please show all steps)

In: Chemistry

Method: DoublyLinkedList reverse(DoublyLinkedList list) Reverse() method accepts a DoublyLinkedList of Character as the argument, reverses the...

Method: DoublyLinkedList reverse(DoublyLinkedList list) Reverse() method accepts a DoublyLinkedList of Character as the argument, reverses the elements in the list, and returns the resulting list. For example:

The given list is

'a' 'b' 'c' 'd' 'e'

The return list should be

'e' 'd' 'c' 'b' 'a'

In: Computer Science

A 765-kg two-stage rocket is traveling at a speed of 6.10×103 m/s away from Earth when...

A 765-kg two-stage rocket is traveling at a speed of 6.10×103 m/s away from Earth when a predesigned explosion separates the rocket into two sections of equal mass that then move with a speed of 2.30×103 m/s relative to each other along the original line of motion.

Part A

What is the speed of each section (relative to Earth) after the explosion?

Part B

How much energy was supplied by the explosion? [Hint: What is the change in kinetic energy as a result of the explosion?]

In: Physics