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
strojnjashka [21]
3 years ago
6

The assignment is to modify the class implementation without changing the functionality. Remove the feet and inches data members

and replace them with one data member named total_inches. Re-implement all the class methods so they have he same functionality as originally. This means that any program written using the public members of the new class must produce exactly the same results as the original implementation.

Engineering
1 answer:
Lorico [155]3 years ago
4 0

Answer: The solution can be found in the attached

Explanation:

You might be interested in
The moisture content in air (humidity) is measured by weight and expressed in pounds or ____________________.
VikaD [51]

Moisture content is measured in terms of pounds of water per pound of air (lb water/lb air) or grains of water per pound of air (gr. of water/lb air).

Hope this helps❤

3 0
2 years ago
In order to fill a tank of 1000 liter volume to a pressure of 10 atm at 298K, an 11.5Kg of the gas is required. How many moles o
lesya [120]

Answer:

The molecular weight will be "28.12 g/mol".

Explanation:

The given values are:

Pressure,

P = 10 atm

  = 10\times 101325 \ Pa

  = 1013250 \ Pa

Temperature,

T = 298 K

Mass,

m = 11.5 Kg

Volume,

V = 1000 r

   = 1 \ m^3

R = 8.3145 J/mol K

Now,

By using the ideal gas law, we get

⇒ PV=nRT

o,

⇒ n=\frac{PV}{RT}

By substituting the values, we get

       =\frac{1013250\times 1}{8.3145\times 298}

       =408.94 \ moles

As we know,

⇒ Moles(n)=\frac{Mass(m)}{Molecular \ weight(MW)}

or,

⇒        MW=\frac{m}{n}

                   =\frac{11.5}{408.94}

                   =0.02812 \ Kg/mol

                   =28.12 \ g/mol

3 0
3 years ago
Create a program named PaintingDemo that instantiates an array of eight Room objects and demonstrates the Room methods. The Room
Serggg [28]

Answer:

Explanation:

Code used will be like

using System;

using System.Collections.Generic;

using System.Linq;

using System.Text;

using System.Threading.Tasks;

namespace PaintingWall

{

class Room

{

public int length, width, height,Area,Gallons;

public Room(int l,int w,int h)

{

length = l;

width = w;

height = h;  

}

private int getLength()

{

return length;

}

private int getWidth()

{

return width;

}

private int getHeight()

{

return height;

}

public void WallAreaAndNumberGallons()

{

Area = getLength() * getHeight() * getWidth();

if (Area < 350)

{

Gallons = 1;

}

else if (Area > 350)

{

Gallons = 2;

}    

Console.WriteLine ("The area of the Room is " + Area);

Console.WriteLine("The number of gallons paint needed to paint the Room is " + Gallons);

}

 

}

class PaintingDemo

{

static void Main(string[] args)

{

int l, w, h;

Room[] r = new Room[8];

for (int i = 0; i <= 7; i++)

{

Console.WriteLine("Room "+(i+1));

Console.Write("Enter Length : ");

l = Convert.ToInt32(Console.ReadLine() );

Console.Write("Enter Width : ");

w = Convert.ToInt32(Console.ReadLine());

Console.Write("Enter Height : ");

h= Convert.ToInt32(Console.ReadLine());

r[i] = new Room(l,w,h);

Console.WriteLine();

}

for (int i = 0; i <= 7; i++)

{

Console.WriteLine("Room " + (i + 1));

r[i].WallAreaAndNumberGallons();

}

Console.ReadKey();  

}

}

}

3 0
3 years ago
Air enters the combustor of a jet engine at p1=10 atm, T1=1000°R, and M1=0.2. Fuel is injected and burned, with a fuel/air mass
snow_lady [41]

Answer:

M2 = 0.06404

P2 = 2.273

T2 = 5806.45°R

Explanation:

Given that p1 = 10atm, T1 = 1000R, M1 = 0.2.

Therefore from Steam Table, Po1 = (1.028)*(10) = 10.28 atm,

To1 = (1.008)*(1000) = 1008 ºR

R = 1716 ft-lb/slug-ºR cp= 6006 ft-lb/slug-ºR fuel-air ratio (by mass)

F/A =???? = FA slugf/slugaq = 4.5 x 108ft-lb/slugfx FA slugf/sluga = (4.5 x 108)FA ft-lb/sluga

For the air q = cp(To2– To1)

(Exit flow – inlet flow) – choked flow is assumed For M1= 0.2

Table A.3 of steam table gives P/P* = 2.273,

T/T* = 0.2066,

To/To* = 0.1736 To* = To2= To/0.1736 = 1008/0.1736 = 5806.45 ºR Gives q = cp(To* - To) = (6006 ft-lb/sluga-ºR)*(5806.45 – 1008)ºR = 28819500 ft-lb/slugaSetting equal to equation 1 above gives 28819500 ft-lb/sluga= FA*(4.5 x 108) ft-lb/slugaFA =

F/A = 0.06404 slugf/slugaor less to prevent choked flow at the exit

5 0
3 years ago
People with skills and training in areas such as marketing or accounting are an important part of the manufacturing industry.
adelina 88 [10]

Answer:

true

Explanation:

8 0
2 years ago
Other questions:
  • A horizontal 2-m-diameter conduit is half filled with a liquid (SG=1.6 ) and is capped at both ends with plane vertical surfaces
    11·1 answer
  • A system consists of N very weakly interacting particles at a temperature T sufficiently high so that classical statistical mech
    9·1 answer
  • Consider a sinusoidal oscillator consisting of an amplifier having a frequency-independent gain A (where A is positive) and a se
    6·1 answer
  • An experimental arrangement for measuring the thermal conductivity of solid materials involves the use of two long rods that are
    8·1 answer
  • Which of the following units of measurement is denoted by a single apostrophe mark (')?
    6·1 answer
  • Yall know what this is called?​
    15·1 answer
  • In the car industry, clay models are used to visualize and test new car designs.
    5·2 answers
  • Drop the name below the corresponding part. (Look at the picture above to answer)
    5·1 answer
  • All of the following have the same units except: Group of answer choices resistance capacitive reactance. inductance. impedance.
    8·1 answer
  • Part A Identify the zero-force members in the truss. (Figure 1) (Hint: Use both visual inspection and analysis.) Check all that
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!