Question about Computers & Internet

1 Answer

Creating a ring using two circles in c++ program

Create a class called circle which has a private member radius.Define methods for area and perimeter in this class.Use this class to create a class called ring which is the combination of two circles.Define area and perimeter of ring using area and perimeter of circles,define a constructor which creates rings of specific inner and outer radii.Create and delete objects of the ring class.Program must allow the  user to create a ring of his choice and display the area and perimeter of the ring so created.

Posted by on

  • Anonymous Mar 27, 2014

    Inner City or Perimeter Road access
    200 automobile parking day & night Prayer classes

    Religous Use Only. 7-days per week

×

1 Answer

  • Level 3:

    An expert who has achieved level 3 by getting 1000 points

    All-Star:

    An expert that got 10 achievements.

    MVP:

    An expert that got 5 achievements.

    Brigadier General:

    An expert that has over 10,000 points.

  • Master
  • 10,406 Answers

Nice try!

If nobody has helped you since September 2008, when you asked the question, you probably scored a "zero" in your computer-programming course, and probably don't need an answer to your "homework" assignment.

Posted on Dec 05, 2009

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

A circle with a radius of 3 kilometers


What is the question?
A circle with a radius of 3 kilometers has a perimeter of about 18.85 kilometers and an area of about 28.27 square kilometers.

Sep 02, 2014 | Office Equipment & Supplies

1 Answer

Area of circle


(pi)R squared (Fixya won't let me use the sign for Pi)

Area of a circle=pi*radius^2 or pi times radius times radius

example: suppose the radius of a circle is 10 inches, then the Area of the circle would be pi times 10 times 10 or 100*pi

pi represents the circumference (distance around) of a circle / diameter and for any circle is constantly the same number which is approximately 3.14

so in my example 100*pi=100*3.14 or 314 square inches

Jul 03, 2014 | Computers & Internet

2 Answers

I want to cut a circle where the outside line is 18 inches


To get a circle with a perimeter of 18 inches, you want a diameter of about 5.73 inches (just under 5 3/4 inches) or a radius of 2.86 inches (call it 2 7/8 inches). Get a compass, set its legs 2 and 7/8 inches apart, put one end at the center, and turn.

Oct 23, 2013 | Computers & Internet

1 Answer

WHAT ARE ALL OF THE MEASUREMENTS OF A CIRCLE CALLED


The radius and the coordinates of the center will completely define a circle. Some other measurements include the diameter, circumference, and area. Then there are parts of the circle, such as arc and chord.

Aug 23, 2013 | Casio Fx300-ms Scientific Calculator With...

1 Answer

How to calculate the sides of a hexagon?


Well it depends. If the hexagon is irregular (sides are not equal) there is no formula to calculate the sides as they can have arbitrary values. You must measure them.
If the hexagon is regular you may be able to relate the measure of a side to the radius of the circle in which it is inscribed. If you have the radius of the circle, the side is equal to the radius. If you have the value of perimeter you divide that value by 6.
There is also a formula that relates the area of the hexagon to the measure of the side s. The formula is Area=(6/4)(s^2)cot(PI/6), where cot is the cotangent function, its angle is in radian. In degrees Pi/6 is 30 degrees.

Dec 31, 2011 | Office Equipment & Supplies

1 Answer

If you know about area formulas of class 8 and 9,please solve my question?there is a circle.in the between of the circle,there is a rectangle of dimension 4cm and 3cm.if the rectangle will cut out what...


The diameter of the circle is the diagonal of the rectangle use Pythagoras this rectangle is a made from two 3,4,5 triangles, so the diameter is 5cm, the radius will be 2.5cm don't forget the BODMAS ordering rule (Brackets of Division Multiplication Addition and Subtraction) Also rounding to 2 decimal places. This solution is based on all four corners of the rectangle touching the circumference of the circle.

Area of a circle is P (22/7) i x Radius (squared ^2) ====> 22/7 x 2.5cm ^ 2 ====> 22/7 x 6.25cm

TOTAL AREA of CIRCLE = 19.64 cm^2

Area of the rectangle is length x width ====> 4 cm x 3 cm

TOTAL AREA of RECTANGLE = 12 cm ^2

The remaining portion is the circle area minus the rectangle 19.64-12 = 7.64 cm^2


SIMPLES brought to you by SpideRaY @ http://www.windowstipsclub.com

Jan 31, 2011 | Computers & Internet

2 Answers

What is the radius of a 30'' pipe


30" diameter? Radius is 15" (half of diameter).

30" circumference (distance around) is a little more complicated...

The number pi.gif is the ratio of the circumference of a circle to the diameter. The value of pi.gif is approximately 3.14159265358979323846...The diameter of a circle is twice the radius. Given the diameter or radius of a circle, we can find the circumference. We can also find the diameter (and radius) of a circle given the circumference. The formulas for diameter and circumference of a circle are listed below. We round pi.gif to 3.14 in order to simplify our calculations. diam_formula.gif circum_formula.gif

Nov 17, 2009 | Gateway FPD1975W 19" LCD Monitor

1 Answer

A pool with a radius of 2.5 metres surrounded by a path 0.8 metres wide what is the perimetee of the pool .using the value of 3.142


Hello,
You must have been taught the relation between the circumference (perimeter) of a circle, the radius and pi. Use it to calculate the perimeter. It is true for all circular figure.
Depending on what is really asked (the perimeter of the actual pool where you find the water, or the general pool area where no shoes are allowed)
1st case: use the radius that was given.
2nd case: the total radius is the radius given plus the width of the path.

If you do not have a formula for the perimeter that involves the radius, but have one that involves the diameter you can use it too, knowing that the diameter is twice the radius or the radius is one half of the diameter.

As you might have guessed I was not going to make things too easy for you by providing a ready-made answer, but I gave you all the hints that will help you solve the problem.

Oct 11, 2009 | Mathsoft StudyWorks! Mathematics Deluxe...

1 Answer

Hi everybody can anyone help me with the project ''Data Hiding in Audio Files'' project in Java and how to run the project with full source code to


The Circle Class Using Data Hiding and Encapsulation package shapes; // Specify a package for the class public class Circle { // The class is still public // This is a generally useful constant, so we keep it public public static final double PI = 3.14159; protected double r; // Radius is hidden, but visible to subclasses // A method to enforce the restriction on the radius // This is an implementation detail that may be of interest to subclasses protected checkRadius(double radius) { if (radius < 0.0) throw new IllegalArgumentException("radius may not be negative."); } // The constructor method public Circle(double r) { checkRadius(r); this.r = r; } // Public data accessor methods public double getRadius() { return r; }; public void setRadius(double r) { checkRadius(r); this.r = r; } // Methods to operate on the instance field public double area() { return PI * r * r; } public double circumference() { return 2 * PI * r; } }

Mar 25, 2009 | Computers & Internet

Not finding what you are looking for?
Computers & Internet Logo

Related Topics:

189 people viewed this question

Ask a Question

Usually answered in minutes!

Top Computers & Internet Experts

Les Dickinson
Les Dickinson

Level 3 Expert

18386 Answers

kakima

Level 3 Expert

102366 Answers

David Payne
David Payne

Level 3 Expert

14161 Answers

Are you a Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...