Anne Chovy, a 57 year-old female, comes to the office with c/o of blood-tinged sputum; she reports having a productive cough for “about a month”. Upon further questioning, Anne mentions that she has been having “really bad night sweats but thought it was probably due to menopause”. She tells you she has lost 15 pounds since her annual check-up, which was 6 months ago. She lives in a rural home with her spouse and is the volunteer coordinator at the county homeless shelter. She is given a PPD test and the result is positive.
PMH: optic neuritis
In: Nursing
At her death in 2015, Sarah had a taxable estate that was worth $7,430,000. For each of the following situations, compute the estate tax that is due at Sarah's death.
|
|
In: Accounting
Start the price at the number of letters in your first and last names combined for Q = 1 (16 letters), and then reduce the price as Q increases.
For costs, begin with TC = 6 at Q = 1, then you may use any numbers you like for costs. You may need to play around with the numbers to make this work out.
Show that MR = MC at profit maximization. Graph MR, MC and Price and show the profit maximizing level of output. (You don’t need to graph ATC and show the profit rectangle).
In: Economics
" The Black-Scholes and Merton method of modelling derivatives prices was first introduced in 1973, by the Nobel Prize winners Black, Scholes (1973) and Merton (1973), after which the model is named. Essentially, the Black-Scholes-Merton (BSM) approach shows how the price of an option contract can be determined by using a simple formula of the underlying asset’s price and its volatility, the exercise price – price of the underlying asset that the contract stipulates – time to maturity of the contract and the risk-free interest rate prevailed in the market". (i) Critically assess the merits and shortcomings of the Black Scholes Pricing Model on the Stock Exchange of Mauritius.
In: Finance
The accompanying table lists the cross-price elasticities of demand for several goods, where the percent quantity change is measured for the first good of the pair, and the percent price change is measured for the second good.
Good Cross-price elasticities of demand
Apple and orange +0.95
Shirt and trousers -2.55
Explain the sign of each of the cross-price elasticities. What does it imply about the relationship between the two goods in question?
b.
Which of the following goods are likely to have elastic demand, and which are likely to have inelastic demand? Justify you answers.
Egg
Restaurant meal
In: Economics
Stock FBN is selling at 60. The risk-free rate is 4 percent per period. Each period, the stock price can either go up by 10 percent or down by 10 percent.
Fill in the price sequence as listed below, labeling each stock price and the 65 put values for an American put. (Draw out the tree first to help your calculations, of course. And copy-paste the price sequence to your answer space so you can just fill it in)
S0 = 60
P0 =
_________
Su =
Sd =
Pu =
Pd =
_________
Suu =
Puu =
Sud =
Pud =
Sdd =
Pdd =
In: Finance
**only need part c and d answered below. It is in bold. In java, please implement the classes below. Each one needs to be created. Each class must be in separate file. The expected output is also in bold. I have also attached the driver for part 4.
2. The StudentRoster class should be in the assignment package.
a. There should be class variable for storing multiple students (the roster), semester and year. All class variables of the Student class must be private.
b. public StudentRoster(String semester, int year) is the single constructor of the class. All arguments of the constructor should be stored as class variables. There should no getters or setters for semester and year variables.
c. public boolean addStudent(String singleStudentData) takes a single student record as a string and breaks the string (tokenize) into first name, last name, grade1, grade2, grade3. The tokens are separated by comma. These values are used to create a Student object. If the student is already in the roster, then only the grades are updated (an additional student object is not added). If the student is not in the roster, then the Student object is added to the roster. The method returns true if a new student was added, return false otherwise.This method can generate two exceptions, BadGradeException and BadNameException. If first or last names are absent, or an integer is present where first and last names should be, then a BadNameException is generated. The message of this exception should state if it was caused by issues with first or last name. Similarly, a BadGradeException is generated if grades 1, 2 or 3 is absent or is not an integer. The message of this exception should state if it was caused by issues with grades 1, 2 or 3. The exceptions are not handled in this method.
d. public int addAllStudents(Scanner allStudents) takes a scanner object that contains multiple student records. Each student record is separated by a newline. This method must use theaddStudent method by retrieving one student record at a time from the Scanner object and passing that record to the addStudent method. The method returns the number of new students that were successfully added to the roster. This method handles all exceptions generated by the addStudent method. Before returning the count of successful additions to the roster, print to the console the total of each exception handled by the method.
The A4Driver class is attached below for guidance. I have also attached the expected output of the entire program.
package driver;
import java.util.Scanner;
import assignment.Student;
import assignment.StudentRoster;
public class A4Driver {
public static void main(String[] args) {
//test student class
System.out.println("test Student
class\n++++++++++++++++++++++++++++");
Student s = new Student("Bugs", "Bunny");
//same student
Student s3 = new Student("Bugs",
"Bunny");
System.out.println("Are students s
and s3 the same?: "+s.equals(s3)); //true
//not the same student
Student s2 = new Student("Buga",
"Bunny");
System.out.println("Are students s
and s2 the same?: "+s.equals(s2)); //false
//uncomment to check if
exception is thrown
s.equal(new Object());
//compute average 90
s.setGrade1(100);
s.setGrade2(90);
s.setGrade3(80);
System.out.println("Student s
average for the 3 grades is "+s.computeAverage());
System.out.println("\n\ntest
StudentRoster class\n++++++++++++++++++++++++++++");
String text =""
+ "Bugs, Bunny, 100 , 90, 80\n"
+ "Buga, Bunny, 100 , 80, 90\n"
+ "123, Bunny, 100 , 90, 80\n"
+ "Bugs, 1234 , 100 , 90, 80\n"
+ "BUGS, Bunny, 100 , 90, 80\n"
+ "Bugs, BUNNY, 100 , 90, 80\n"
+ "bugs, bunny, 70 , 90, 80\n"
+ "Betty, Davis, 100 , , \n"
+ "Betty, Davis, 100 , 40 , \n"
+ "Betty, Davis, , , \n"
+ "Betty, Davis, xx ,yy ,zz \n"
;
Scanner scan = new Scanner(text);
StudentRoster sr = new StudentRoster("Fall",
2019);
// Add only two students
System.out.println("\nTest addAllStudents, number of new students
added: "+sr.addAllStudents(scan));
//average of the two students should be 85
System.out.println("\nTest computeClassAverage, class
average is: "+sr.computeClassAverage());
//rank by grade1 Buga, Bugs
System.out.println("\nTest rankByGrade1:
"+sr.rankByGrade1());
//rank by grade2 Bugs, Buga
System.out.println("\nTest rankByGrade2:
"+sr.rankByGrade2());
//rank by grade3 Buga, Bugs
System.out.println("\nTest rankByGrade3:
"+sr.rankByGrade3());
//rank by average Buga, Bugs
System.out.println("\nTest rankByAverage:
"+sr.rankByAverage());
}
}
Example output:
__________Example from A4Driver shown below
test Student class ++++++++++++++++++++++++++++ Are students s and s3 the same?: true Are students s and s2 the same?: false Student s average for the 3 grades is 90.0
test StudentRoster class ++++++++++++++++++++++++++++ Exceptions Caught and Handled ========================== First name: 1
Last name: 1 Grade 1: 2 Grade 2: 1 Grade 3: 1
Test addAllStudents, number of new students added:
2
Test computeClassAverage, class average is: 85.0
Test rankByGrade1: [Buga Bunny grade1:100 grade2:80 grade3:90, Bugs
Bunny grade1:70 grade2:90 grade3:80]
Test rankByGrade2: [Bugs Bunny grade1:70 grade2:90 grade3:80, Buga Bunny grade1:100 grade2:80 grade3:90]
Test rankByGrade3: [Buga Bunny grade1:100 grade2:80 grade3:90, Bugs Bunny grade1:70 grade2:90 grade3:80]
Test rankByAverage: [Buga Bunny grade1:100 grade2:80 grade3:90, Bugs Bunny grade1:70 grade2:90 grade3:80]
In: Computer Science
A first year statistics class took part in a simple experiment. Each person took their pulse rate. They then flipped a coin and, if it came up tails, they ran in place for one minute. Everyone then took their pulse a second time. Of the 92 students in the class, 32 ran in place. In repetitions of this experiment, the number that run in place should have a binomial distribution with n = 92 trials and probability of success p = 1/2. a. Simulate 100 repetitions of this experiment using the commands given below. In how many of the 100 experiments did 32 or fewer people have to run? b. Make a histogram of the 100 observations and describe its important characteristics (shape, location, spread and outliers). c. Using software, calculate the probability of getting 32 or fewer tails in 92 tosses of a fair coin. d. Does it seem likely that only 32 of the 92 students got tails? Give a reasonable explanation for what happened.
In: Statistics and Probability
Marginal Incorporated (MI) has determined that the before cost of debt is 6% for the first $100 million in bonds it issues, and 8% for any bonds issued above $100 million. Its cost of preferred stock is 9%. The cost of internal equity is 12% and its cost of external equity is 14%. Currently, the firm’s capital structure has $600 million of debt, $100 million of preferred stock, and $300 million of common equity. The firm’s marginal tax rate is 30%. The firm is currently making projections for next period. Its managers have determined that the firm should have $75 million available from retained earnings for investment purposes next period.
What is the firm’s marginal cost of capital at each of the following total investment levels?
III. Total investment level of $77 million?
In: Finance
Observations of a galaxy located 20 Mpc away give us the total flux and the radial velocity of stars within circles on the sky that correspond to radii of 100 and 1000 pc.
Within these two regions, the results are as follows:
100 pc radius -- Total flux (W m-2): 2.1×10-16, vr (km s-1): 290
1000 pc radius -- Total flux (W m-2): 1.5×10-14, vr (km s-1): 250
Use these data to answer the following questions about the galaxy.
A) Calculate M, L, and M/L, all in solar units, for the region of the galaxy contained within a 1 kpc radius.
B) Repeat for a 100 pc radius.
C) Based on your answers for the first two parts, do you think there is a supermassive black hole at the center of this galaxy? Estimate the mass of the possible black hole.
In: Physics