I was wondering if you can tell me if the following code is correct and if its not can it be fixed so it does not have any syntax errors.
Client one
/**
* Maintains information on an insurance client.
*
* @author Doyt Perry/<add your name here>
* @version Fall 2019
*/
public class Client
{
// instance variables
private String lastName;
private String firstName;
private int age;
private int height;
private int weight;
/**
* First constructor for objects of class Client.
*/
public Client()
{
// initialize all instance variables to placeholder values
this.lastName = "last name";
this.firstName = "first name";
this.age = 0;
this.height = 1;
this.weight = 1;
}
/**
* Second constructor for objects of class Client.
*
*
* Create a client object using explicit parameters to specify
* values for corresponding instance fields.
*
* @param inLastName last Name of client
* @param inFirstName first Name of client
* @param inAge age of client
* @param inHeight height of client
* @param inWeight weight of client
*/
public Client(String inLastName, String inFirstName, int
inAge,
int inHeight, int inWeight)
{
// initialize instance variables
// using values passed in as parameters
this.lastName = inLastName;
this.firstName = inFirstName;
this.age = inAge;
this.height = inHeight;
this.weight = inHeight;
}
/**
* Update the last name of the client.
*
* @param inLastName last name of the client.
*/
public void setLastName(String inLastName)
{
// Set the last name instance variable to parameter
this.lastName = inLastName;
}
/**
* Return the last name of the client.
*
* @return String last name.
*/
public String getLastName()
{
// return the value of the last name instance variable
return this.lastName;
}
/**
* Update the first name.
*
* @param inFirstName first name of the client.
*/
public void setFirstName(String inFirstName)
{
// Set the first name instance variable to parameter.
// REPLACE this comment with your code
}
/**
* Return the first name of the client.
*
* @return String first name.
*/
public String getFirstName;
//return "not cor";
/**
* Update the age of the client.
*
* @param inAge age of the client.
*/
public void setAge(int inAge)
{
// Set the age instance variable to the parameter
this.age = inAge;
}
/**
* Return the age of the client.
*
* @return int first name.
*/
public int getAge()
{
// return the value of the first age instance variable.
return this.age;
}
/**
* Update the height of the client.
*
* @param inHeight height of the client.
*/
public void setHeight(int inHeight)
{
// Set the height instance variable to the parameter
this.height = inHeight;
}
/**
* Return the height of the client.
*
* @return int height of client.
*/
public int getHeight()
{
// return the value of the height instance variable.
return this.height;
}
/**
* Update the weight of the client.
*
* @param inWeight weight of the client.
*/
public void setWeight(int inWeight)
{
// replace this comment with your code
}
/**
* Return the weight of the client.
*
* @return int weight of client.
*/
public int getWeight()
{
// replace this comment & return statement with your code
return -1;
}
/**
* Calculate the BMI of the client.
*
* @return double BMI of client.
*/
public double calcBMI()
{
// return the result of calculating the BMI.
// Refer to "Common Error 4.1" on page 142 in the textbook for more
info
// if WebCat flags the following calculation as an error.
return (704 * this.weight) / this.height * this.height;
}
/**
* Display the client information.
*
* @return String formatted client informatin.
*
* <pre>
* The label should be printed in the format:
*
* last name, first name
* Age: 99
* BMI: 99.999
* </pre>
*/
public String toString()
{
// initialize the variable that will hold the output string
String output = "";
// put the name in lastname, firstname format
output = output + this.lastName + this.firstName + "\n";
// include the client age
output = output + "Age " + this.age + "\n";
// include the email address
output = output + "BMI " + this.calcBMI() + "\n";
// return the output string
return output;
}
}
In: Computer Science
1) The Economy cannot be considered fully employed unless the measured unemployment rate is below 1%. Agree or disagree and explain your answer in a paragraph. What is the current actual u-rate for the US economy as of September Data for 2020? Is this unemployment rate below or above or equal to u-rate at full employment (usually called natural rate of unemployment or NAIRU)? What state of the economy do you consider from this u-rate for Sep 2020 (recession, depression or inflation?) and its sources?
2) A) Why would you expect the inflation rate to accelerate if
the actual unemployment rate declined to a level lower than the
"full employment" unemployment rate (NAIRU) and remained at that
low level for a year or longer? Explain your answer in a few
sentences.
.
B) Draw an AS/AD diagram illustrating your answer to part (A) and refer to the current state of the economy of the US to compare in this context. Be sure to label all lines and axes in your diagram clearly.
3) Suppose between Q1, 2018 and Q4, 2019 measured Output in the non- farm business sector increased by 3.6%. During this time period the unemployment rate fell from 4.6% to 3.7% and total hours worked in the nonfarm business sector increased by 3.8%.
What was the % rate of change in labor productivity over this period (Q1 2018 and Q2 2020)? Explain your answer briefly. (Hint: Labor productivity = Y/Labor hours; RGDP growth rate = Labor productivity growth plus and Labor Force Growth rate. No need to use u-rate changes for this question)
In: Economics
-Fatima's records contain the following information:
1. Donated stock having a fair market value of $4,000 to a qualified charitable organization. She acquired the stock five months previously at a cost of $3,000.
2. Paid $900 to a church school as a requirement for the enrollment of her son.
3. Paid $350 for annual homeowner's association dues.
4. Drove 500 miles in his personal auto. The travel was directly related to volunteer services she performed for her church.
How much can Fatima deduct as a charitable contribution?
A) $2,456
B) $3,070
C) $3,356
D) $4,000
-GarLee Grocery, Inc., a C corporation with high taxable income, donates some of its inventory to the Local Food Bank (a charitable organization) which distributes food to the needy. At the time of the contribution, the FMV of the inventory was $20,000, and GarLee Grocery's basis was $6,000. Lee Grocery will be allowed a charitable contribution deduction of
A) $8,000.
B) $12,000.
C) $13,000.
D) $20,000.
-For non-cash charitable donations, an appraisal will be required for donations valued at more than
A) $250.
B) $500.
C) $5,000.
D) $50,000.
-Henry’s adjusted gross income is $50,000 in 2018. He donated a piece of artwork with a basis of $10,000 and a fair market value (FMV) of $25,000. He has owned the artwork for 10 years. The charity that Henry donated the artwork to is a public charity and will display the art work in its art center. What is the maximum charitable deduction in 2018 that Henry can take?
$0.
$10,000.
$15,000.
$25,000.
In: Accounting
Question 1
Brooklyn plc manufactures and sells only one product and the accountant has been asked to prepare a report that will highlight the areas that should be focussed on at the next meeting of the Directors of the company.
Details of the results and ratios have been calculated from the financial statements, using the attached formulae.
2016 2017 2018
Sales – units 160 000 200 000 220 000
£000 £000 £000
Sales 16 000 17 000 18 700
Profit before interest and tax 800 980 1 053
Profit after tax 490 595 588
Non-current Assets 5 000 5 400 7 500
Cash --- 600 200
Profitability ratios
Gross Profit margin 30.0% 39.7% 45.0%
Net Profit margin 5.0% 5.8% 5.6%
Return on Capital Employed 10.0% 9.1% 8.1%
Return on Shareholders’ Funds 8.2% 9.7% 9.3%
Liquidity and management of working capital ratios
Current ratio 3.0 4.4 3.75
Acid Test / Quick ratio 1.3 1.9 1.50
Inventory – days 95 142 160
Receivables – days 46 51.5 54.6
Payables – days 57 57 71
Gearing ratio 25% 43% 51.5%
Required
In: Accounting
Metal Ta and TaN has used as the barrier materials for copper
interconnects. A non-contact, non-intrusive method and tool such as
MetaPULSE® G has been used to measure the thickness of metal
films.
Please describe its fundamental theory, measurement and data
examples from literature, resolution/sensitivity, and
limitations
- Non-intrusive method
- Fundamental Theory
(what physical properties should be known as the input data?)
- Example from literature
- Any limitation on the film thickness, sample status, and
other
In: Chemistry
Metal Ta and TaN has used as the barrier materials for copper
interconnects. A non-contact, non-intrusive method and tool such as
MetaPULSE® G has been used to measure the thickness of metal
films.
Please describe its fundamental theory, measurement and data
examples from literature, resolution/sensitivity, and
limitations
- Non-intrusive method
- Fundamental Theory
(what physical properties should be known as the input data?)
- Example from literature
- Any limitation on the film thickness, sample status, and
other
In: Chemistry
Why is depreciation considered a non-cash expense? Provide some examples of non-cash expenses and explain if should be considered when making decisions for purchasing capital assets. Why or why not.
In: Accounting
What does the term “non-controlling” interest mean? How is the non-controlling interest in a subsidiary company calculated as of the end of a reporting period?
In: Accounting
You are caring for a
59-year-old African American male who is a non-smoker and a
non-drinker. The individual has a healthy weight for his height. On
weekends, he coaches a youth baseball team in his community and
enjoys eating hot dogs and nachos with the children after games. He
has been monitoring his blood pressure at the community center and
noted that the highest reading was 168/92 mm Hg. He is pleased with
this number, as the results were "lower than previous readings."
However, his healthcare provider is still concerned. She informed
him about the dietary choices he was making and reminded him to
limit his sodium intake. She also renewed the individual's
prescription for a thiazide diuretic and added an ACE inhibitor to
his treatment regime.
Please answer the following prompts in your analysis of the
case:
Speculate how the individual's ethnicity contributes to his hypertension. Discuss other determinants of health that contribute to the prevalence of hypertensive disease in this population.
Discuss the significance of an elevated systolic pressure, even in the absence of diastolic hypertension, detailing the pathophysiology behind elevation in blood pressure and the ultimate development of hypertension.
Identify if this individual is at risk for developing heart failure. If so, what type of heart failure would he be most at risk of developing?
Briefly discuss the mechanism of action of the two classes of drugs this individual was prescribed for the management of his hypertension.
In: Nursing
For the non-constant growth stock, is the capital gain yield constant during their non-constant growth period? Why? What’s the horizon value (terminal value)? Is the horizon value a present value? If not, how to get the present value??
In: Finance