In java
Given the following UML class diagram, implement the class as
described by the model. Use your best judgement when implementing
the code inside of each method.
+------------------------------+
| Circle |
+------------------------------+
| - radius : double = 1.0 |
+------------------------------+
| + Circle(radius : double) |
| + getRadius() : double |
| + setRadius(radius : double) |
| + area() : double |
| + perimeter() : double |
+------------------------------+
The following information might also be useful:
Formula for area of a circle with radius r:
A = πr^2
Formula for perimeter of a circle with radius r:
P = π2r
In: Computer Science
The current price of a company is $40/share. The dividends per share for years 1, 2, 3 and 4 are forecasted to be $1.0, 1.5, 2.0 and 2.5 respectively. Furthermore, analysts are forecasting EPS to go to $5.00 in four years. Similarly, the PE-multiple is estimated to be 18 in four years.
a) Find the expected return or IRR, the expected price return, the expected dividend return, Using a required rate of 12 %, find the intrinsic value, and finally, is the company undervalued?
In: Finance
At year-end, Chief Company has a balance of $26,000 in accounts receivable of which $2,600 is more than 30 days overdue. Chief has a credit balance of $270 in the allowance for doubtful accounts before any year-end adjustments. Using the aging of accounts receivable method, Chief estimates that 1.0% of current accounts and 11% of accounts over thirty days are uncollectible. What is the amount of bad debt expense?
$520
$790
$270
$250
In: Accounting
A 10-cm-long thin glass rod uniformly charged to 8.00 nCnC and a 10-cm-long thin plastic rod uniformly charged to - 8.00 nCnC are placed side by side, 4.50 cmcm apart. What are the electric field strengths E1E1E_1 to E3E3E_3 at distances 1.0 cm, 2.0 cm, and 3.0 cm from the glass rod along the line connecting the midpoints of the two rods?
Ask for the electric field strength E1, E2 and E3
In: Physics
A mixture of 0.2063 mol of Cl2, 0.2093 mol of H2O, 0.1887 mol of HCl, and 0.09871 mol of O2 is placed in a 1.0-L steel pressure vessel at 575 K. The following equilibrium is established: 2 Cl2(g) + 2 H2O(g) 4 HCl(g) + 1 O2(g) At equilibrium 0.05821 mol of O2 is found in the reaction mixture. (a) Calculate the equilibrium partial pressures of Cl2, H2O, HCl, and O2. (b) Calculate KP for this reaction.
In: Chemistry
A 75 watt incandescent light bulb and an 18 watt compact fluorescent bulb are equally bright. How much warmer will an insulated closed 12 by 11 by 8.0 foot room get in 1.0 hour if it is lighted by an incandescent bulb than if it is lighted by a fluorescent bulb? At room temperature, the specific heat of air is 1.007 J/gC and its density is 1.2 g/L. The watt is the SI unit of power; 1 watt = 1 J/s.
In: Chemistry
How much ice (in grams) would have to melt to lower the temperature of 355 mL of water from 26 ∘C to 6 ∘C? (You must consider the enthalpy in cooling the water, as well as the enthalpy in melting the ice and the enthalpy to heat the melted ice from 0∘C up to the system's final temperature of 6 ∘C. Also assume that the density of water is 1.0 g/mL.) Express your answer using two significant figures.
In: Chemistry
To a 100.0 mL volumetric flask were added 7.00 mL of 1.70 M of H3VO4, 1.401 g of NaH2VO4, and 15.00 mL of 1.5 M NaOH. The flask was filled to the calibration mark with water. What were the molar concentrations of H+, OH-, the two other relevant molecules and the pH of the solution? Is the resulting solution a buffer? Ka1 = 1.0 x 10-4, Ka2 = 2.8 x 10-9 and Ka3 = 5.0 x 10-15 for H3VO4.
In: Chemistry
Consider the following economy with: IS curve YIS = k (AP – 123 R); LM curve YLM = 5 (M^s/P) + 499 R ; k = 3.95 ; AP = 5050 ; MS = 1980 . Derive the IS and the LM curves for P = 1.0. Find the interest rate and the output at equilibrium Find the equilibrium interest rates and outputs for the following price levels: 0.8; 1.2; 2.0. Plot the aggregate demand (AD curve) based on your findings in c.
In: Economics
A bank has $100 million of investment grade bonds with a duration of 9.0 years. This bank also has $500 million of commercial loans with a duration of 5.0 years. This bank has $300 million of consumer loans with a duration of 2.0 years. This bank has deposits of $600 million with a duration of 1.0 year and non-deposit borrowings of $100 million with an average duration of.25 years. What is this bank's duration gap? These are all of the assets and liabilities this bank has
In: Finance