1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Oksana_A [137]
3 years ago
8

Write a class declaration named Circle with a private member variable named radius. Write set and get functions to access the ra

dius variable, and a function named getArea that returns the area of the circle.the area calcilated as?
Engineering
1 answer:
Leona [35]3 years ago
8 0

Answer:

Explanation:

The following code is in C# Language

   public class Circle

   {

       private float radius;

       public float Radius

       {

           get { return radius; }

           set { radius = value; }

       }

       public void GetArea()

       {

           Console.WriteLine("The area of the circle is ", Math.PI* Radius  *Radius);

       }

 

You might be interested in
In the circuit given below, R1 = 17 kΩ, R2 = 74 kΩ, and R3 = 5 MΩ. Calculate the gain 1formula58.mml when the switch is in posit
Elenna [48]

Answer:a

a) Vo/Vi = - 3.4

b) Vo/Vi = - 14.8

c) Vo/Vi = - 1000

Explanation:

a)

R1 = 17kΩ

for ideal op-amp

Va≈Vb=0 so Va=0

(Va - Vi)/5kΩ + (Va -Vo)/17kΩ = 0

sin we know Va≈Vb=0

so

-Vi/5kΩ + -Vo/17kΩ = 0

Vo/Vi = - 17k/5k

Vo/Vi = -3.4

║Vo/Vi ║ = 3.4    ( negative sign phase inversion)

b)

R2 = 74kΩ

for ideal op-amp

Va≈Vb=0 so Va=0

so

(Va-Vi)/5kΩ + (Va-Vo)74kΩ = 0

-Vi/5kΩ + -Vo/74kΩ = 0

Vo/Vi = - 74kΩ/5kΩ

Vo/Vi = - 14.8

║Vo/Vi ║ = 14.8  ( negative sign phase inversion)

c)

Also for ideal op-amp

Va≈Vb=0 so Va=0

Now for position 3 we apply nodal analysis we got at position 1

(Va - Vi)/5kΩ + (Va - Vo)/5000kΩ = 0           ( 5MΩ = 5000kΩ )

so

-Vi/5kΩ + -Vo/5000kΩ = 0

Vo/Vi = - 5000kΩ/5kΩ

Vo/Vi = - 1000

║Vo/Vi ║ = 1000  ( negative sign phase inversion)

3 0
3 years ago
What kind of energy transformation happens when a boy uses energy from a sandwich to run a race​
Semmy [17]
A boy eat a energy of a sandwich to run a race because when they eat a sandwich it helps them to help it mid workout and real nutritions of NYC and bring extra fuel and eating the right thing
I hope this help
4 0
3 years ago
Read 2 more answers
can someone help me with this engineering mechanics homework, please? I tried to solve it, but I got so confused.​
marishachu [46]

Explanation:

Sum of forces in the x direction:

∑Fx = ma

Rx − 250 N = 0

Rx = 250 N

Sum of forces in the y direction:

∑Fy = ma

Ry − 120 N − 300 N = 0

Ry = 420 N

Sum of forces in the z direction:

∑Fz = ma

Rz − 50 N = 0

Rz = 50 N

Sum of moments about the x axis:

∑τx = Iα

Mx + (-50 N)(0.2 m) + (-120 N)(0.1 m) = 0

Mx = 22 Nm

Sum of moments about the y axis:

∑τy = Iα

My = 0 Nm

Sum of moments about the z axis:

∑τz = Iα

Mz + (250 N)(0.2 m) + (-120 N)(0.16 m) = 0

Mz = -30.8 Nm

6 0
4 years ago
Outline the structure of an input-output model (including assumptions about supply and demand). What is an inverse matrix? Why i
pishuonlain [190]

Answer:

Explanation:

C.1 Input-Output Model

It is a formal model that divides the economy into 2 sectors and traces the flow of inter-industry purchases and sales. This model was developed by Wassily Leontief in 1951. In simpler terms, the inter-industry model is a quantitative economic model that defines how the output of one industry becomes the input of another industrial sector. It is an interdependent economic model where the output of one becomes the input of another. For Eg: The Agriculture sector produces output using the inputs from the manufacturing sector.

The 3 main elements are:

Concentrates on an economy which is in equilibrium

Deals with technical aspects of production

Based on empirical investigations and assumptions

Assumptions

2 sectors - " Inter industry sector" and "final sector"

Output of one industry is the input for another

No 2 goods are produced jointly. i.e each industry produces homogenous goods

Prices, factor suppliers and consumer demands are given

No external economies or diseconomies of production

Constant returns to scale

The combinations of inputs are employed in rigidly fixed proportions.

Structure of IO model

See image 1

Quadrant 1: Flow of products which are both produced and consumed in the process of production

Quadrant 2: Final demand for products of each producing industry.

Quadrant 3: Primary inputs to industries (raw materials)

Quadrant 4: Primary inputs to direct consumption (Eg: electricity)

The model can be used in the analysis of the labor market, forecast economic development of a nation and analyze economic developments of various regions.

Leontief inverse matrix shows the output rises in each sector due to a unit increase in final demand. Inverting the matrix is significant since it is a linear system of equations with unique solutions. Thus, the final demand vector for the required output can be found.

C.2 Linear programming problems

Linear programming problems are optimization problems in which objective function and the constraints are all linear. It is most useful in making the best use of scarce resources during complex decision makings.

Primal LP, Dual LP, and Interpretations

Primal linear programming: They can be viewed as a resource allocation model that seeks to maximize revenue under limited resources. Every linear program has associated with it a related linear program called dual program. The original problem in relation to its dual is termed as a primal problem. The objective function is a linear combination of n variables. There are m constraints that place an upper bound on a linear combination of the n variables The goal is to maximize the value of objective functions that are subject to the constraints. If the primal linear programming has finite optimal value, then the dual has finite optimal value, and the primal and dual have the same optimal value. If the optimal solution to the primal problem makes a constraint into a strict inequality, it implies that the corresponding dual variable must be 0. The revenue-maximizing problem is an example of a primal problem.

Dual Linear Programming: They represent the worth per unit of resource. The objective function is a linear combination of m values that are the limits in the m constraints from the primal problem. There are n dual constraints that place a lower bound on a linear combination of m dual variables. The optimal dual solution implies fair prices for associated resources. Stri=ong duality implies the Company’s maximum revenue from selling furniture = Entrepreneur’s minimum cost of purchasing resources, i.e company makes no profit. Cost minimizing problem is an example of dual problems

See image 2

n - economic activities

m - resources

cj - revenue per unit of activity j

4 0
3 years ago
Read 2 more answers
A fluid of density 900 kg/m3 passes through a converging section of an upstream diameter of 50 mm and a downstream diameter of 2
NISA [10]

Answer:

Q= 4.6 × 10⁻³ m³/s

actual velocity will be equal to 8.39 m/s

Explanation:

density of fluid = 900 kg/m³

d₁ = 0.025 m

d₂ = 0.05 m

Δ P = -40 k N/m²

C v = 0.89

using energy equation

\dfrac{P_1}{\gamma}+\dfrac{v_1^2}{2g} = \dfrac{P_2}{\gamma}+\dfrac{v_2^2}{2g}\\\dfrac{P_1-P_2}{\gamma}=\dfrac{v_2^2-v_1^2}{2g}\\\dfrac{-40\times 10^3\times 2}{900}=v_2^2-v_1^2

under ideal condition v₁² = 0

v₂² = 88.88

v₂ = 9.43 m/s

hence discharge at downstream will be

Q = Av

Q = \dfrac{\pi}{4}d_1^2 \times v

Q = \dfrac{\pi}{4}0.025^2 \times 9.43

Q= 4.6 × 10⁻³ m³/s

we know that

C_v =\dfrac{actual\ velocity}{theoretical\ velocity }\\0.89 =\dfrac{actual\ velocity}{9.43}\\actual\ velocity = 8.39m/s

hence , actual velocity will be equal to 8.39 m/s

6 0
3 years ago
Other questions:
  • Write down a transfer function of a stable system for which pure proportional feedback could drive the system unstable.
    11·1 answer
  • The type of current that flows from the electrode across the arc to the work is called what?
    5·1 answer
  • During an office party, an office worker claims that a can of cold beer on his table warmed up to 20oC by picking up energy from
    13·1 answer
  • A series R-L circuit is given. Circuit is connected to an AC voltage generator. a) Derive equations for magnitude and phase of c
    13·1 answer
  • A spherical seed of 1 cm diameter is buried at a depth of 1 cm inside soil (thermal conductivity of 1 Wm-1K-1) in a sufficiently
    14·1 answer
  • The heat transfer rate per unit area in a thermal circuit is equivalent to what quantity in an electric circuit? A. voltage B. c
    6·1 answer
  • A piston–cylinder assembly contains air, initially at 2 bar, 300 K, and a volume of 2 m3. The air undergoes a process to a state
    12·1 answer
  • How can I skip more helppppppppppppppppppppppp
    9·2 answers
  • (Architecture) Sarah is an environmental activist. She frequently conducts various programs and activities in her community to p
    15·1 answer
  • Subject : SCIENCE
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!