Questions
Please separate this code with different header files thank you. #include<iostream> //bismark using namespace std; public:...

Please separate this code with different header files thank you.

#include<iostream>
//bismark

using namespace std;
public:
   class Circle {

   private double radius;
   private char color;
   private boolean filled;

   public Circle(double radius, char color, boolean filled) {
       super();
       this.radius = radius;
       this.color = color;
       this.filled = filled;
   }


   public Circle() {
       super();
       this.radius = 0;
       this.color = 'W';
       this.filled = false;
   }

   public Circle(double radius) {
       super();
       this.radius = radius;
       this.color = 'W';
       this.filled = false;
   }


   public double getRadius() {
       return radius;
   }
   public void setRadius(double radius) {
       this.radius = radius;
   }
   public char getColor() {
       return color;
   }
   public void setColor(char color) {
       this.color = color;
   }
   public boolean isFilled() {
       return filled;
   }
   public void setFilled(boolean filled) {
       this.filled = filled;
   }


   public double getCircumference(double r)
   {

       return 2 * 3.14*r;

   }


   public double getArea(double r)
   {
       return 3.14*r*r;
   }


}

In: Computer Science

How does the U.S. economy compare with other market capitalist economies with respect to its degree...

How does the U.S. economy compare with other market capitalist economies with respect to its degree of industrial concentration and the nature of its antitrust policies?

In: Economics

You want to buy a $255,000 home. You plan to pay 15% as a down payment,...

You want to buy a $255,000 home. You plan to pay 15% as a down payment, and take out a 30 year loan for the rest.

a) How much is the loan amount going to be? $

b) What will your monthly payments be if the interest rate is 5%? $

c) What will your monthly payments be if the interest rate is 6%? $

In: Finance

What are some political economic circumstances in the United States that could impede people from engaging...

What are some political economic circumstances in the United States that could impede people from engaging in exercise as prevention for diabetes and cardiovascular disease?

In: Economics

2. Davis Inc.'s bonds currently sell for $800 and have a par value of $1,000. They...

2. Davis Inc.'s bonds currently sell for $800 and have a par value of $1,000. They pay a $100 annual coupon and have a 20-year maturity, but they can be called in 5 years at $1,200. What is their Capital Gain Yield (CGY)?

3. A 10-year, 5% semiannual coupon bond selling for $1,135.90 can be called in 4 years for $1,200 (hint: par value is $1,000). What is its yield to maturity (YTM)?

4. A 10-year, 5% semiannual coupon bond selling for $1,135.90 can be called in 4 years for $1,200 (hint: par value is $1,000). What s its current yield (CY)?

5. A 10-year, 10% semiannual coupon bond selling for $1,135.90 can be called in 4 years for $1,200 (hint: par value is $1,000). What is its yield to call (YTC)?

6. Davis Inc.'s bonds currently sell for $800 and have a par value of $1,000. They pay a $100 annual coupon and have a 20-year maturity, but they can be called in 5 years at $1,200. What is their yield to maturity (YTM)?

7. Davis Inc.'s bonds currently sell for $800 and have a par value of $1,000. They pay a $60 annual coupon and have a 20-year maturity, but they can be called in 5 years at $1,200. What is their Expected Current Yield (CY)?

8. Davis Inc.'s bonds currently sell for $800 and have a par value of $1,000. They pay a $60 annual coupon and have a 20-year maturity, but they can be called in 5 years at $1,200. What is their yield to Call (YTC)?

9. Kimberly’ Motors has a beta of 1.40, the T-bill rate is 3.00%, and the Tbond rate is 7.0%. The annual return on the stock market during the past 3 years was 15.00%, but investors expect the annual future stock market return to be 10.00%. Based on the SML, what is the firm's required return?

10. Suppose the interest rate (return rate) on a 1-year T-bond is 3.0% and that on a 2-year T-bond is 6.0%. Assuming the pure expectations theory is correct, what is the market's forecast for 1-year rates 1 year from now?

11. Stacker’s Corporation's bonds have a 10-year maturity, a 10.00% semiannual coupon, and a par value of $1,000. The going interest rate (rd) is 2.00%, based on semiannual compounding. What is the bond’s price?

12. If the pure expectations theory holds, what does the market expect will be the interest rate (expected return rate) on one-year securities, three years from now? (1year maturity yield is 6.0%; 2year maturity yield is 6.1%; 3year maturity yield is 6.3%; 4year maturity yield is 6.3 %; 5year maturity yield is 6.3%)? (Hints: Draw the timeline and then calculate the interest rate (expected return rate) on two-year securities, two years from now.)

In: Finance

Consider the cadmium electrode, whose half-reaction is shown below. Calculate the potential of the electrode at...

Consider the cadmium electrode, whose half-reaction is shown below. Calculate the potential of the electrode at 25 °C under the given conditions. A) Immersed in a 0.0120 M solution of CdBr2. B) Immersed in a 0.0490 M NaOH solution that is saturated with Cd(OH)2. Ksp for Cd(OH)2 is 7.2 × 10–15. C) Immersed in a 0.0140 M Cd(NH3)42 and 0.375 M NH3 solution. β4 for Cd(NH3)42 is 3.63 × 106.

In: Chemistry

Your camera has a lens with a 35.0 mm focal length and film that is 36.0mm...

Your camera has a lens with a 35.0 mm focal length and film that is 36.0mm wide. In taking a picture of an airplane 22.7m in length, you find that the image of the airplane fills only three-fourths of the width of the film.

a.) How far are you from the airplane?

b.) How close should you stand if you want to fill the width of the film with the airplane's image?

Please show all work, thank you!

In: Physics

Cultural differences in societies and groups always find their way in to every aspect of civilization,...

Cultural differences in societies and groups always find their way in to every aspect of civilization, including where we work. You are a very diverse group here and I want you to discuss the following:

Does your organization do an adequate job of embracing diversity within its workforce? Have you ever felt like an outsider or have you ever noticed others being treated as outsiders? Do you feel you do a good job of ingratiating yourself to other cultures, or is this a work in progress?

In: Economics

problem 1 Write a function to search an item named searchkey in an array of 20...

problem 1 Write a function to search an item named searchkey in an array of 20 elements. Assumed the array has all integer value and also the search item is an integer.

problem 2 Now consider the array is sorted. Modify the above script (from question 1) in a way so that dont have to search the item in every position of the array( not looking 20 times considering worst case scenario).

thanks in advance


use html thank you

simple as possible

In: Computer Science

Describe what the social and criminal justice benefits are in the growth of the anti-domestic violence...

Describe what the social and criminal justice benefits are in the growth of the anti-domestic violence movement, and the anti-violence against women movement.

In: Psychology

A 30 g of clay travelling east at 3.0 m/s collides with a 20 g ball...

A 30 g of clay travelling east at 3.0 m/s collides with a 20 g ball of clay travelling north at 4.0 m/s. What are the speed and the direction of resulting 50 g blob of clay?

In: Physics

Using the following portion of the activity series for oxidation half reactions K(s) → K+ (aq)...

Using the following portion of the activity series for oxidation half reactions

K(s) → K+ (aq) + e-

Al(s) → Al3+ (aq) + 3e-

Fe(s) → Fe2+ (aq) + 2e-

Sn(s) → Sn2+ (aq) + 2e-

Determine which reaction will occur.

A) Al3+(aq) with Fe(s)

B) Al(s) with Sn(s)

C) K+(aq) with Fe2+(aq)

D) K(s) with Sn2+(aq)

In: Chemistry

What are the disadvantages of high image rating ?

What are the disadvantages of high image rating ?

In: Operations Management

Complete each of the following nuclear reactions and calculate the energy change (in units J/mol of...

Complete each of the following nuclear reactions and calculate the energy change (in units J/mol of reactant) associated with each one. (Al-27 = 26.981538 amu, He-4=4.002603 amu, P-30=29.981801, W-179=178.94707, Ta- 179=178.94593)

(for below x / y , x = mass number while y = atomic number)

a. 27 / 13 Al + 4 / 2 He → 30 / 15 P + ______

b. 179 / 74 W + ______ →179 / 73 Ta

In: Chemistry

A 0.149 kg glider is moving to the right on a frictionless, horizontal air track with...

A 0.149 kg glider is moving to the right on a frictionless, horizontal air track with a speed of 0.900 m/s . It has a head-on collision with a 0.301 kg glider that is moving to the left with a speed of 2.18 m/s . Suppose the collision is elastic.
Part A:
Find the magnitude of the final velocity of the 0.301 kg glider.

In: Physics