C#
Create a console application that asks the user for two numbers in the range 0-255 and then divides the first number by the second: Enter a number between 0 and 255: 100 Enter another number between 0 and 255: 8 100 divided by 8 is 12 Enter a number between 0 and 255: apples Enter another number between 0 and 255: bananas FormatException: Input string was not in a correct format.
In: Computer Science
people with a higher opportunity cost of time are more willing, ceteris paribus, to pay a higher money price for goods that save time than people with a lower opportunity cost of time. First, provide an example of a product where an important part of the true cost of the product is the time price. Can you think of something that seems to be a bargain at first because of its low money price, but that isn't as much of a bargain when you consider both the money price and the time price of the good? Can you think of an example of a new good or service being offered that reduces the time price of a good while charging a higher money price? Are there any opportunities for mutual gain or an increase in societal utility if someone with low opportunity cost of time provides a service (e.g., waiting in line) for a person with a higher opportunity cost of time?
In: Finance
CASE STUDY: CRYSTAL SMITH
Crystal Smith, a 33-year old African American homemaker, cake to an outpatient clinic seeking “someone to talk to” about feelings of despair that had intensified over the previous 8-10 months. She was particularly upset about marital conflict and an uncharacteristic mistrust of her in-laws.
Ms. Smith said she had begun to wake before dawn, feeling down and tearful. She had difficulty getting out of bed and completing her usual household activities. At times, she felt guilty for not being her “usual self.” At other times, she became easily irritated with her husband and her in-laws for minor transgressions. She had previously relied on her mother-in-law to assist with the children, but she no longer entirely trusted her with that responsibility. That worry, in combination with her insomnia and fatigue, made it very difficult for Ms. Smith to get her children to school on time. In the past few months, she had lost 13 pounds without dieting. She denied current suicidal ideation, saying she “would never do something like that,” but acknowledged having thought that she “should just give up” and that she “would be better off dead.”
Two months previously, Ms. Smith had seen a psychiatrist for several weeks and received an anti-depressant. She reluctantly gave it a try, discontinuing it quickly because it made her feel tired. She had also dropped out of therapy, indicating that the psychiatrist didn’t seem to understand her.
Ms. Smith lived with her husband of 13 years and two school-age children. Her husband’s parents lived next door. She said her marriage was good, although her husband suggested she “go see someone” so that she would not be “yelling at everyone all the time.” While historically sociable, she rarely talked to her own mother and sister, much less her friends. A regular churchgoer, she had quit attending because she felt her faith was “weak.” Her pastor had always been supportive, but she had not contacted him with her problems because “he wouldn’t want to hear about these kinds of issues.”
Ms. Smith described herself as having been an outgoing, friendly child. She grew up with her parents and three siblings. She recalled feeling quite upset at age 10-11 when her parents divorced and her mom remarried. Because of fights with other kids at school, she met with a school counselor with whom she felt a bond. Unlike the psychiatrist she had recently consulted, Ms. Smith felt the counselor did not “get into my business” and helped her recover. She said she became quieter as she entered junior high school, with fewer friends and little interest in studying. She married her husband at age 20 and worked in retail sales until the birth of their first child when she was 23 years old.
Ms. Smith had not used alcohol since her first pregnancy and denied any use of illicit substances. She denied past and current use of prescribed medications, other than the brief trial of the antidepressant medication. She reported generally good health.
On the mental status examination, Ms. Smith was a casually groomed young woman who was cohere and goal-directed. She had difficulty making eye contact with the white middle-aged therapist. She was cooperative but mildly guarded and slow to respond. She needed encouragement to elaborate her thinking. She was periodically tearful and generally appeared sad. She denied psychosis, although reported occasionally feeling mistrustful of her family. She denied confusion, hallucinations, suicidality, or homicidality. Cognition, insight, and judgment were all considered normal.
List what you would diagnose for each of the 5 axes and a brief explanation of why:
AXIS I: _________________________________
Explain your reason for this specific choice:
AXIS II: _________________________________
Explain your reason for this specific choice:
AXIS III: _________________________________
Explain your reason for this specific choice:
AXIS IV: _________________________________
Explain your reason for this specific choice:
AXIS V: _________________________________
DSM-5 Diagnosis (write diagnosis in format of DSM-5 as well):
In: Psychology
CASE STUDY: CRYSTAL SMITH
Crystal Smith, a 33-year old African American homemaker, cake to an outpatient clinic seeking “someone to talk to” about feelings of despair that had intensified over the previous 8-10 months. She was particularly upset about marital conflict and an uncharacteristic mistrust of her in-laws.
Ms. Smith said she had begun to wake before dawn, feeling down and tearful. She had difficulty getting out of bed and completing her usual household activities. At times, she felt guilty for not being her “usual self.” At other times, she became easily irritated with her husband and her in-laws for minor transgressions. She had previously relied on her mother-in-law to assist with the children, but she no longer entirely trusted her with that responsibility. That worry, in combination with her insomnia and fatigue, made it very difficult for Ms. Smith to get her children to school on time. In the past few months, she had lost 13 pounds without dieting. She denied current suicidal ideation, saying she “would never do something like that,” but acknowledged having thought that she “should just give up” and that she “would be better off dead.”
Two months previously, Ms. Smith had seen a psychiatrist for several weeks and received an anti-depressant. She reluctantly gave it a try, discontinuing it quickly because it made her feel tired. She had also dropped out of therapy, indicating that the psychiatrist didn’t seem to understand her.
Ms. Smith lived with her husband of 13 years and two school-age children. Her husband’s parents lived next door. She said her marriage was good, although her husband suggested she “go see someone” so that she would not be “yelling at everyone all the time.” While historically sociable, she rarely talked to her own mother and sister, much less her friends. A regular churchgoer, she had quit attending because she felt her faith was “weak.” Her pastor had always been supportive, but she had not contacted him with her problems because “he wouldn’t want to hear about these kinds of issues.”
Ms. Smith described herself as having been an outgoing, friendly child. She grew up with her parents and three siblings. She recalled feeling quite upset at age 10-11 when her parents divorced and her mom remarried. Because of fights with other kids at school, she met with a school counselor with whom she felt a bond. Unlike the psychiatrist she had recently consulted, Ms. Smith felt the counselor did not “get into my business” and helped her recover. She said she became quieter as she entered junior high school, with fewer friends and little interest in studying. She married her husband at age 20 and worked in retail sales until the birth of their first child when she was 23 years old.
Ms. Smith had not used alcohol since her first pregnancy and denied any use of illicit substances. She denied past and current use of prescribed medications, other than the brief trial of the antidepressant medication. She reported generally good health.
On the mental status examination, Ms. Smith was a casually groomed young woman who was cohere and goal-directed. She had difficulty making eye contact with the white middle-aged therapist. She was cooperative but mildly guarded and slow to respond. She needed encouragement to elaborate her thinking. She was periodically tearful and generally appeared sad. She denied psychosis, although reported occasionally feeling mistrustful of her family. She denied confusion, hallucinations, suicidality, or homicidality. Cognition, insight, and judgment were all considered normal.
List what you would diagnose for each of the 5 axes and a brief explanation of why:
AXIS I: _________________________________
Explain your reason for this specific choice:
AXIS II: _________________________________
Explain your reason for this specific choice:
AXIS III: _________________________________
Explain your reason for this specific choice:
AXIS IV: _________________________________
Explain your reason for this specific choice:
AXIS V: _________________________________
DSM-5 Diagnosis (write diagnosis in format of DSM-5 as well):
In: Psychology
For a 7-year annual bond with a coupon rate of 8%, par value $100, and current market price $120, what is the cost of debt before tax?
In: Finance
Consider a single period problem where the riskless interest rate is zero, and there are no taxes. A firm consists of a machine that will produce cash flows of $210 if the economy is good and $80 if the economy is bad. The good and bad states occur with equal probability and the covariance of these states with the market portfolio is zero (no systematic risk). Initially, the firm has 100 shares outstanding and debt with a face value of $50 due at the end of the period.
a.) What is the share price of this firm? (Hint: you need to calculate cash flows to equity holders in the good state and at the bad state of the economy separately. After that, you compute the expected cash flow. Also, don’t forget that debt holders are paid first in both states of the world.)
Suppose the firm unexpectedly announces that it will issue additional debt, with the same seniority as existing debt and a face value of $50. The firm will use the entire proceeds to repurchase some of the outstanding shares.
b.) What is the market price of the new debt? (Hint: in case of bankruptcy, old and new debt holders will split the cash flow proportional to the face value because they have debt of the same seniority.)
c.) Just after the announcement, what will happen to the price of the equity shares?
d.) What has happened to the total value of the firm? Does the Modigliani-Miller (MM) theorem hold in this case?
In: Finance
Question 2: Firm Competitions
Two firms, Firm 1 and Firm 2, produce the same goods and are competing in the same market. Firm 1 has a cost function of c1 = 20q1 and Firm 2 has a cost function of
c2 = 10q2.
The market price is determined by the inverse demand function p=100−q1 −q2
(a) Suppose Firm 1 and Firm 2 compete in a quantity competition. And suppose both firms decidesimultaneously. What are the Cournot-Nash equilibrium quantities of Firm 1 and Firm 2? Show your work.
(b) Suppose Firm 1 and Firm 2 compete in a quantity competition. And suppose Firm 1 moves first. Firm 2 observes Firm 1’s choice and moves second. What are the Stackelberg-Nash equilibrium quantities of Firm 1 and Firm 2? Show your work.
(c) Are the answers in (a) and (b) the same? Why or why not? Briefly explain in your own words.
(d) Now assume that the firms engage in a price competition and that the firms decide on their prices simultaneously. What are the Bertrand-Nash equilibrium prices? You do not need to show any calculation, but you need to explain your logic. Note: You can assume a price increment of $0.01 if needed.
In: Economics
A 60 year old alum donates 300000 today (at t-0) to the College for an annual scholarship that will start with the first scholarship payment in t=20, and thereafter, the scholarship amount will grow at a rate of 3% / year to account for inflation. If the College's discount rate is 7%%, how large will the first payment in t=20 be??
I ONLY HAVE THIS INFORMATION
Please answer only when you are 100%
In: Finance
The president of Doerman Distributors, Inc., believes that 26% of the firm's orders come from first-time customers. A simple random sample of 100 orders will be used to estimate the proportion of first-time customers. p=0.26
1. What is the probability that the sample proportion will be between .12 and .40 (to 4 decimals)?
2. What is the probability that the sample proportion will be between .17 and .35 (to 4 decimals)?
In: Statistics and Probability
P(10,10) is equal to:
|
1, because their number of elements in the subset is the same as the number of elements in the original set |
||
|
10, because we are choosing all 10 elements |
||
|
100, because there are 10 ways to choose the first element and 10 ways to choose the second element |
||
|
10!, because there are 10 ways to choose the first element, 9 to choose the second, 8 to choose the third, etc. |
In: Computer Science