Questions
Question 4 (20 marks) a.The market demand for mineral water is given as follow: Q =...

Question 4

a.The market demand for mineral water is given as follow: Q = 200 − 2P

i. Firm A is the only producer in the market and the marginal cost to produce a bottle of mineral is 40. What is the profit maximizing price and output level?

ii. What is the consumer surplus and produce surplus if Firm A practices first degree price discrimination?

iii. Firm B has also entered the market and produce the same mineral water as Firm A. The marginal revenue for each of the firms are shown as follow:

MRA = 100 − QA − 0.5QB

MRB = 100 − QB − 0.5QA

What is the output level and price under Cournot equilibrium?

b. Firm H is the only honey seller in the market. It is currently selling its honey with a price of $180 and the output level is units. The marginal cost at the current output level is $90 and the demand elasticity is -4. Comment if the current product price level is profit maximizing. If yes, calculate the profit level for the monopoly. If not, calculate the profit maximizing product price level.

In: Economics

Suppose that a 1-year zero-coupon bond with face value $100 currently sells at $94.34, while a 2-year zero sells at $84.99.


Suppose that a 1-year zero-coupon bond with face value $100 currently sells at $94.34, while a 2-year zero sells at $84.99. You are considering the purchase of a 2-year-maturity bond making annual coupon payments. The face value of the bond is $100, and the coupon rate is 12% per year.
a) What is the yield to maturity of the 2-year zero?
b) What is the yield to maturity of the 2-year coupon bond?
c) What is the forward rate for the second year?
d) According to the expectations hypothesis, what are (i) the expected price of the coupon bond at the end of the first year and (ii) the expected holding-period return on the coupon bond over the first year?

 

In: Finance

Mrs. O. just returned from the hospital after being diagnosed with Systemic Lupus. In the hospital,...

Mrs. O. just returned from the hospital after being diagnosed with Systemic Lupus. In the hospital, she was on IV steroids. She is now on a lower dose of oral prednisone. She was in the hospital for one week as she is also a Type 1 Diabetic (since age 12). The autoimmune disorder caused her blood glucose levels to become erratic requiring stabilization of her usually controllable insulin dosage. While she had not been feeling well her doctor was not quite sure what was wrong. Her symptoms were fatigue, aching joints, and GI upsets. It was not until the de-stabilization of her diabetes and face rash that the doctor decided to have her admitted. At the same time, Mrs. O. informed the doctor that she thought she might be pregnant as she and her husband were wanting to have their first baby. They had married two years ago and have been trying for the past year. Mrs. O. is a manager for a large manufacturing firm and works 60-70 hours a week usually coming home tired from the stress of her job. Her husband is in sales and travels. Mrs. O. has a large extended family and is very close with her mother and five sisters and two brothers. She is the youngest and has always been "taken care of" by her family. You meet Mrs. O. on your first home visit and the first thing she wants to talk with you about is her new baby. She is pregnant and her family and husband are delighted. She is happy but very worried about the pregnancy and is trying not to think about this new disease.

In this Laboratory assignment you will be focusing on the following: Case management - Develop an initial assessment as the first step to a case management plan. What issues will need to be considered to manage this case? What resources might she need for her complex medical issues? Consider what other health care personnel will be important resources. How will her medical expenses be paid?

Communication - Focus on engagement. Identify the dynamics of her family support system. How will they help/challenge her care? Also in what ways will you assist her with her concerns and worries?

Teaching Needs - Focus on medications, medication interaction, the new diagnosis and what she needs to know, the impact of the Systemic Lupus on Diabetes, and a potentially high-risk pregnancy. Also, how will her job and stress impact her conditions and pregnancy? How will you assist in helping her achieve her "level" of wellness?

In: Nursing

Cystic fibrosis is a rare disease caused by homozygosity for a recessive allele, and characterized by...

Cystic fibrosis is a rare disease caused by homozygosity for a recessive allele, and characterized by a build-up of mucus in the lungs and difficulty breathing. A woman whose maternal uncle had the disease is trying to determine the probability she and her husband could have an affected child. Her husband's sister died of the disease. Assuming the uncle and the sister are the only family members who had the disease, what is the chance that the couple's first child will be affected? I'm getting 1/18, but chegg says 1/64? Please verify it is 1/64 for the answer.

In: Biology

In a study of about 1,000 families, the following descriptive statistics were found: mean height of...

In a study of about 1,000 families, the following descriptive statistics were found:

mean height of husband = 68 inches, standard deviation = 15, min = 56, max = 83

mean height of wife = 63 inches, standard deviation = 15, min = 53, max = 73

correlation coefficient = 0.25

You are interested in predicting the height of the wife from the height of her husband.

  1. Compute the slope of the regression line.
  2. Compute the value for the intercept, and provide a sentence that interprets the value.
  3. Write the equation of the regression line for this data.
  4. Use this information to predict the height of a wife when the height of her husband is 64 inches (include the RMSE).

You don't have to show your work but include your answer for each step.

In: Statistics and Probability

hello! So I have this CIS assignment lab but when I try to make the code...

hello! So I have this CIS assignment lab but when I try to make the code I don't really know where to start from. My professor is very hard and he likes to see the outcomes as they are shown in the problem. Please help me!

Write a program that can be used as a math helper for an elementary student. The program should display two random integer numbers that are to be added, such as:
    247
+ 129
-------

The program should wait for the students to enter the answer. If the answer is correct, a message of congratulations should be printed. If the answer is incorrect, a message should be printed showing the correct answer.

The program displays a menu allowing the user to select an addition, subtraction, multiplication, or division problem. The final selection on the menu should let the user quit the program. After the user has finished the math problem, the program should display the menu again. This process is repeated until the user chooses to quit the program.
Input Validation: If the user select an item not on the menu, display an error message and display the menu again.

Requirements:

Addition
Generate two random numbers in the range 0 - 9.

Subtraction

Generate two random numbers in the range 0 - 9.
num1 = rand() % 10;
num2 = rand() % 10;
Make sure num2 <= num1...
while (num2 > num1)
num2 = rand() % 10;

Multiplication

Generate two random numbers. The first in the range 0 - 10, the second in the range 0 - 9.

Division

Generate a single digit divisor
num2 = rand() % 9;
Generate a num1 that is a multiple of num2 so the division has no remainder. The num1 is never zero.
num1 = num2 * (rand() % 10 + 1);

All constant values must be declare as a constant variable. Use the constant variable in the calculation.
Validating the selection (1 to 5). If the selection is not in the range between 1 and 5, the program keeps asking the input until the correct selection is entered.
Comments in your program to explain the code logic and calculation.


Output sample:

Menu
1. Addition problem
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program

Enter your choice (1-5): 1
   1
+ 2
   ---
   4

Sorry, the correct answer is 3.
Menu
1. Addition problem
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program
Enter your choice (1-5): 7
The valid choices are 1, 2, 3, 4, and 5. Please choose: 2
    8
+ 6
    ---
    2
Congratulations! That's right.
Menu
1. Addition problem
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program
Enter your choice (1-5): 3
     9
*   4
    ---
   36

Congratulations! That's right.
Menu
1. Addition problem
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program
Enter your choice (1-5): 4
8 / 2 = 4
Congratulations! That's right.
Menu
1. Addition problem
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program
Enter your choice (1-5): 4
6 / 2 = 3
Congratulations! That's right.
Menu
1. Addition problem
2. Subtraction problem
3. Multiplication problem
4. Division problem
5. Quit this program
Enter your choice (1-5): 5

"Thank you for using math helper!"

In: Computer Science

Two firms choose the prices of their products on the first day of the month. The...

Two firms choose the prices of their products on the first day of the month. The following payoff table shows their monthly payoffs resulting from the pricing decisions they can make

Firm B
Low Price High Price
Firm A Low Price $400, $600 $100, $700
High Price $600, $300 $150, $400
  1. Is the Pricing decision facing the 2 firms a prisoner’s dilemma situation? Why or why not?
  2. What is the outcome of the game if the firms do not cooperate in making the decision to choose their prices? Why?
  3. What is the outcome of the game if the firms do cooperate in making the decision to choose their prices? Why?

In: Economics

You are interviewing a 25-year-old woman who is being seen for a general physical exam. Her...

You are interviewing a 25-year-old woman who is being seen for a general physical exam. Her husband insists that he come into the room with the patient. You notice several bruises on the patient's arm in various stages of healing.When you inquire about the bruises, the patient gives you a vague answer and the husband says she is just accident prone. What should you do?

In: Nursing

Could you modify the code make output arranged into 5x5, like this: 1 2 3 4...

Could you modify the code make output arranged into 5x5, like this:

1 2 3 4 5

6 7 8 9 10

11 12 13 14 15

16 17 18 19 20

21 22 23 24 25

The code is:

import java.util.*;

public class RandomGen {

public static void main(String[] args) {
int[][] ArrayRand = new int [5][5];
Random rand = new Random();
int sum = 0;
System.out.println("The generated random matris is: ");
  
for(int i = 0; i < ArrayRand.length;i++){
for(int j = 0; j < ArrayRand[i].length;j++){
ArrayRand[i][j] = rand.nextInt(100)+1;
System.out.print(" "+ ArrayRand[i][j]);
sum += ArrayRand[i][j];
}
}
System.out.println("\nThe sum is: "+ sum);
System.out.println();
}
  
}

In: Computer Science

(1)Using the Matlab code developed in Software Assignment #1: a. Convert the code that generates the...

(1)Using the Matlab code developed in Software Assignment #1:

a. Convert the code that generates the random number (H,T) with equal probabilities into a function called myBernolli(p, S) that takes as an input the probability of success p and S is the outcome defined as success (either T or H) and returns the outcome of the trial (either T or H).

b. Test that your function is actually producing the successful outcome with probability p by running the function in a loop of 1000 trials and counting how many times success is produced (it should be close to p*1000).

c. Write a Matlab function called myBinomial(n,p) that takes as an input the total number of trials n, the probability of success p and the outcome defined as success S and uses myBernolli() to return as an output the number of successes x.

d. Write a Matlab function called myGeometric() that takes as an input the probability of success p and the outcome defined as success S and uses myBernolli() to return as an output the number of trials till first success x.

e. Verify that myBinomial() and myGeometric() generates values that follow Binomial and Geometric Distributions by running each of them 5000 times in a loop and plotting a histogram of the random variable x generated from each.

Hints: Random numbers with probability p are generated in Matlab using the command function rand(). Read the help on Matlab to know how to use the function by typing help rand in Matlab command line. Histogram plots [hist()] is a function in Matlab. Read its help to know how to produce

In: Math