Questions
In 1995, Betty White received a star on the Hollywood Walk of Fame – and her...

  1. In 1995, Betty White received a star on the Hollywood Walk of Fame – and her star is right near the star of her late husband, Allen Ludden. There are many couples that both have stars on the Hollywood Walk of Fame. This led Betty to wonder – is there a difference in the age between the husband and wife when they get their Hollywood star? As a result, Betty took a random sample of heterosexual couples that both have stars on the Hollywood Walk of Fame and recorded the age at which they received their star, given below.

Husband

62

67

51

62

73

47

55

60

80

76

42

Wife

55

68

56

54

60

50

49

58

75

74

49

At the .05 level of significance, is there evidence that there is a difference in the ages when husbands and wives get their Hollywood Walk of Fame star?

In: Statistics and Probability

] In 1995, Betty White received a star on the Hollywood Walk of Fame – and...

  1. ] In 1995, Betty White received a star on the Hollywood Walk of Fame – and her star is right near the star of her late husband, Allen Ludden. There are many couples that both have stars on the Hollywood Walk of Fame. This led Betty to wonder – is there a difference in the age between the husband and wife when they get their Hollywood star? As a result, Betty took a random sample of heterosexual couples that both have stars on the Hollywood Walk of Fame and recorded the age at which they received their star, given below.

Husband

62

67

51

62

73

47

55

60

80

76

42

Wife

55

68

56

54

60

50

49

58

75

74

49

At the .05 level of significance, is there evidence that there is a difference in the ages when husbands and wives get their Hollywood Walk of Fame star?

In: Statistics and Probability

c++: Exercise 1: Study the tutorial from Unit 6 on Sorting Arrays and Vectors. Write a...

c++:

Exercise 1:

Study the tutorial from Unit 6 on Sorting Arrays and Vectors.

Write a program that generates a sequence of 20 random values between 0 and 99 in an array, prints the sequence, sorts it, and prints the sorted sequence. Use the sort method from the C++ standard library. Do not add duplicate values to your array.  

Hint:

#include <algorithm>
#include "math.h"
using namespace std;
const int SIZE = 100;

while (numAdded < 100) {
val = floor(rand() % 100);  // Will generate values between 0 and 99
//  if unique add to array otherwise skip

}

//  Your unsorted array will look something like this. Use a loop, not a declaration to // add your values

{13, 7, 6, 45, 21, 9, 87, 99,...};
sort(arr);

// Sorted will be:

{0,1,2,3,....,99}

Exercise 2:

  Write a program that stores a list of countries: "Egypt", "Switzerland", "Argentina", "Spain", "Portugal", "Luxemburg", etc.

Initialize your array with a single statement. Then print out the array.

Use the sort function as before to sort the countries in alphabetical order.

Reprint your array.

Exercise 3:

Study the tutorial about vectors, if you haven't already. Implement exercises 1

and 2 using vectors. Then append an additional element to each list, print your

new lists and print and resort again.  

In: Computer Science

Q1-Return to the case of the two oil change producers Oil Can Henry’s (OCH) and Jiffy...

Q1-Return to the case of the two oil change producers Oil Can Henry’s (OCH) and Jiffy Lube (JL). Recall the inverse market demand for oil changes: P = 100 – 2Q

where quantity is measured in thousands of oil changes per year, representing the combined production of O and G; Q = qO + qG; and price is measured in dollars per change. OCH has a marginal cost of $12 per change, and JL has a marginal cost of $20.

Answer the following questions:

a-Suppose the market is a Stackelberg oligopoly and OCH is the first mover. How much does each firm produce? What will the market price be? How much profit does each firm earn?

b-Now suppose JL is the first mover. How much will each firm produce, and what is the market price? How much profit does each firm earn?

In: Economics

Claire, a widow, received the proceeds of a $150,000 life insurance policy on the life of...

Claire, a widow, received the proceeds of a $150,000 life insurance policy on the life of her deceased husband. The policy was purchased by the husband’s employer under a group policy and the employer had paid premiums of $60,000 on the policy. Claire’s husband had included $500 in gross income from the group term life insurance premiums during the years he worked for the employer.Calculate the amount, if any, that Claire must include in income upon receipt of the $150,000 proceeds. Explain

In: Accounting

A 45-year-old female was brought to the Emergency Department by ambulance at 8 AM. Upon awakening,...

A 45-year-old female was brought to the Emergency Department by ambulance at 8 AM. Upon awakening, the patient's husband noticed she had an unsteady gait and her speech was slurred. When they went to bed the night before, at 11 PM, the patient had no deficits. A head CT was negative for abnormalities. The patient’s condition continued to deteriorate, and she required intubation and mechanical ventilation. TPA was not administered. The patient was admitted to the Intensive Care Unit for a diagnosis of ischemic stroke. On day three, the patient stabilized enough to be extubated and removed from the ventilator. However, she was responsive only to painful stimuli. On day five, the physician ordered a surgical consult for insertion of a feeding tube and to begin tube feedings. The husband is distraught and confused, stating he does not think his wife would want to live like this. On day seven, the Nurse Manager arranges a family meeting with the husband, the patient’s parents, the physician, the case manager and the primary nurse to discuss the patient’s situation and to develop a plan of care in accordance with her wishes. Neither the husband nor the parents ever remember having a conversation about the patient’s wishes regarding artificial nutrition and hydration. The husband and the parents have opposing views regarding what they think would be the patient’s wishes. As the primary nurse, you developed a trusting and therapeutic relationship with the family. You are asked to participate in the conversation to help educate the patient about options.

  • Did the patient receive treatment in accordance with best practices for stroke care? Why or why not? (In your response, include identifying best practices.)
  • Describe the role of the nurse in advocating for the patient’s rights and needs.
  • Identify legal, financial, and ethical perspectives of your stance.

In: Nursing

Where does A3 algorithm run in GSM architecture? HLR SIM Either HLR or SIM depending on...

Where does A3 algorithm run in GSM architecture?
HLR
SIM
Either HLR or SIM depending on operator implementation
Both HLR and SIM independent of operator implementation

HLR in GSM can use preshared key to generate
TMSI
RAND
Session Key
Equipment Identity

In: Computer Science

Suppose you are an investor in bonds. Consider a corporate bond with a $100 par value,...

Suppose you are an investor in bonds. Consider a corporate bond with a $100 par value, a 5% coupon paid semi-annual coupon, and five years to maturity. The bond presently yields 3% annually. Suppose that interest rates rise shortly, and the yield on comparable bonds is now 4%. After observing this change, you call your broker Jane for a quote on the bond. Jane shows that the bond price is $105. You quickly realize that there is an arbitrage opportunity in this market. Assuming away any transaction cost and tax, you can simultaneously buy and sell the bond and pocket a risk-free profit per $100 of par that is closest to (Hint: you would need to first calculate what the bond price should actually be): A. $1.00 B. $0.51 C. $0.422 D. None of the above

In: Finance

Consider an individual that lives for two periods. She only works in the first period and...

Consider an individual that lives for two periods. She only works in the first period and receives a labor income equal to 200 Euros. Additionally, this individual receives a non-labor income equal to 20 Euros in each period. The interest rate in the economy is 10 %. She can consume in period 1 (c1) and in period 2 (c2). The price of the consumption good is equal to 1 in both periods. The individual has a Cobb-Douglas utility function of the following form: u(c1, c2) = (c1)1/2 (c2)1/2.

Find c1, c2, and private savings in the following cases:

a) A proportional labor income tax of 10%.

b) A proportional income tax of 10% (the same in each of the two periods).

c) A proportional income tax of 10%, in each period, with an exemption in the base of each period equal to 100 Euros (the first 100 euros are not taxed)

d) A labor income tax, in each period, with an increasing rate such that (the first100 euros pay no taxes, the euros between 100 and 150 pay 10%, and the euros above 150 pay 20%):

Base Tax rate

[0 , 100) 0%

[100 – 150) 10%

[150, ∞] 20%

e) A consumption tax, in each period, of 10%

  

In: Economics

Consider two bonds. The first is a 6% coupon bond with six years to maturity, and...

Consider two bonds. The first is a 6% coupon bond with six years to maturity, and a yield to maturity of 4.5% annual rate, compounded semi-annually. The second bond is a 2% coupon bond with six years to maturity and a yield to maturity of 5.0%, annual rate, compounded semi-annually.

1. Calculate the current price per $100 of face value of each bond. (You may use financial calculator to do question 1 and 2, I'm just unsure how to use it.)

2. Given the data for the first two bonds, now consider a third bond: a zero coupon bond with six years to maturity. Calculate the price per $100 of face value of the zero coupon bond. Calculate the yield to maturity for the zero coupon bond. (Express the yield as annual rate, compounded semi-annually).

HINT: Use the Value Additivity principle to answer part c. Create a synthetic zero- coupon bond, that is, a portfolio of the 6% coupon bond and the 2% coupon bond that has the same cash flows as a 6-year, zero coupon bond.

In: Finance