For this Assignment you will attach two files, the Analysis of the Problem (using Word or a text editor) and your program (.cpp file). Do not cut and paste your code into the message section of the assignment area or your program will not be graded, and you will receive a zero for the assignment. You must attach both files in the same assignment area, do not submit separately or you will not receive full credit for the assignment.
PROBLEM: Gunter’s Mountain Shop – More options. (10 pts) Gunter’s Mountain shop needs a program to calculate not only the total customer order for sales items from their outlet store but also for their in-stock items which are sold from their main facility. The program must also calculate the tax for the total sales. The program should output the total for each item, the total sales, the total tax (7%), and the overall total (tax + total sales). In addition, the program should ask the user if they are a student; if the user is a student they will be given a 10% discount on their final purchase amount. The program should then output the new balance along with the discount amount (See Sample output for example). Use the same logo that was used in Assignment 1C and 2C. If you did not complete those assignments, the logo is displayed in the Sample Output below. The program should first ask the user if they wish to order from their outlet store or from their main store using the menu below. Make sure that the menu gives the option for the user to exit the program.

Answers

Answer 1

Below is the C++ code for the given problem in which we are analyzing the Problem of the Gunter’s Mountain Shop.

Coding Part:

#include <iostream>

#include <iomanip>

using namespace std;

int main()

{

  // print "Architect Area Calculator"

  cout << "Architect Area Calculator:" << endl;

  cout << "*****************************" << endl;

 

  // print menu options

  cout << "1. Rectangle \n2. Triangle \n3. Circle \n4. Quit\n" << endl;

 

  // ask user to enter a menu item in the range 1-4

  cout << "Please enter a menu item (1-4) > ";

 

  // declare a variable to store user's choice

  int item;

 

  // read a user's choice of menu item

  cin>>item;

 

  // if the user entered item is valid i.e it is the range 1-4, then proceed further

  if(item >= 1 && item <= 4)

  {

      // if user's choice of menu item is 1

      if(item == 1)

      {

          // declare 2 double variables to store length and width of a rectangle respectively

          double length, width;

         

          // print "Rectangle"

          cout << "\n\nRectangle" << endl;

         

          // ask user to enter length of the rectangle

          cout << "Please enter the length > ";

         

          // read length of rectangle from user

          cin >> length;

         

          // check if the length of the rectangle is non-positive, if not positive then

          if(length <= 0)

          {

              // print an error message

              cout << "\nError : Length of the rectangle should be positive.\n" << endl;

             

              // stop program by returning 0

              return 0;

          }

         

          // ask user to enter width of the rectangle

          cout << "Please enter the width > ";

         

          // read width of the rectangle from user

          cin >> width;

         

          // check if the width of the rectangle is non-positive, if not positive then

          if(width <= 0)

          {

              // print an error message

              cout << "\nError : Width of the rectangle should be positive.\n" << endl;

             

              // stop program by returning 0

              return 0;

          }

         

          // calculate area of rectangle using given formula, and print area with 2 decimal precisions

          cout << "\n Area = " << fixed << setprecision(2) << (length * width) << " sq/ft\n" << endl;

      }

      // if user's choice of menu item is 2

      else if(item == 2)

      {

          // declare 2 double variables to store base and height of a triangle respectively

          double base, height;

         

          // print "Triangle"

          cout << "\n\nTriangle" << endl;

         

          // ask user to enter base of the triangle

          cout << "Please enter the base > ";

         

          // read base of the triangle from user

          cin >> base;

         

          // check if the base of the triangle is non-positive, if not positive then

          if(base <= 0)

          {

              // print an error message

              cout << "\nError : Base of the triangle should be positive.\n" << endl;

             

              // stop program by returning 0

              return 0;

          }

         

          // ask user to enter height of the triangle

          cout << "Please enter the height > ";

         

          // read height of the triangle from user

          cin >> height;

         

          // check if the height of the triangle is non-positive, if not positive then

          if(height <= 0)

          {

              // print an error message

              cout << "\nError : Height of the triangle should be positive.\n" << endl;

             

              // stop program by returning 0

              return 0;

          }

         

          // calculate area of triangle using given formula, and print area with 2 decimal precisions

          cout << "\n Area = " << fixed << setprecision(2) << (height * base)/2 << " sq/ft\n" << endl;

      }

      // if user's choice of menu item is 3

      else if(item == 3)

      {

          // declare a double variable to store radius of a circle

          double radius;

         

          // print "Circle"

          cout << "\n\nCircle" << endl;

         

          // ask user to enter radius of the circle

          cout << "Please enter the radius > ";

         

          // read radius of the circle from user

          cin >> radius;

         

          // check if the radius of the circle is non-positive, if not positive then

          if(radius <= 0)

          {

              // print an error message

              cout << "\nError : Radius of the circle should be positive.\n" << endl;

             

              // stop program by returning 0

             return 0;

          }

         

          // calculate area of circle using given formula, and print area with 2 decimal precisions

          cout << "\n Area = " << fixed << setprecision(2) << (3.14 * radius * radius) <<" sq/ft\n" << endl;

      }

      // if user's choice of menu item is 1

      else if(item == 4)

      {

          // print thank you message and exit

          cout << "\n\nThank you for using Architect Area Calculator..." << endl;

      }

  }

  else

  {

      // if user's choice of menu item is not in the range 1-4, then print an error message and exit

      cout << "\nError : Menu item should be in the range 1-4\n" << endl;

  }  

}

To know more about C++ code, visit: https://brainly.com/question/27019258

#SPJ4


Related Questions

The evaporator:
A. directs airflow to the condenser.
B. absorbs heat from the passenger compartment.
C. removes moisture from the refrigerant.
D. restricts refrigerant flow.

Answers

Answer:

Option B

Explanation:

An evaporator along with  cold low pressure refrigerant absorbs heat from the air within the passenger compartment thereby supplying cool air for the occupants.

Hence, option B is correct

For some metal alloy, a true stress of 345 MPa (50040 psi) produces a plastic true strain of 0.02. How much will a specimen of this material elongate when a true stress of 412 MPa (59760 psi) is applied if the original length is 480 mm (18.90 in.)? Assume a value of 0.22 for the strain-hardening exponent, n.

Answers

Answer:

the elongation of the metal alloy is 21.998 mm

Explanation:

Given the data in the question;

K = σT/ (εT)ⁿ

given that metal alloy true stress σT = 345 Mpa, plastic true strain εT = 0.02,

strain-hardening exponent n = 0.22

we substitute

K = 345 / [tex]0.02^{0.22[/tex]

K = 815.8165 Mpa

next, we determine the true strain

(εT) = (σT/ K)^1/n

given that σT = 412 MPa

we substitute

(εT) = (412 / 815.8165 )^(1/0.22)

(εT) = 0.04481 mm

Now, we calculate the instantaneous length

[tex]l_i[/tex] = [tex]l_0e^{ET[/tex]

given that [tex]l_0[/tex] = 480 mm

we substitute

[tex]l_i[/tex] =[tex]480mm[/tex] × [tex]e^{0.04481[/tex]

[tex]l_i[/tex] =  501.998 mm

Now we find the elongation;

Elongation = [tex]l_i - l_0[/tex]

we substitute

Elongation = 501.998 mm - 480 mm

Elongation = 21.998 mm

Therefore, the elongation of the metal alloy is 21.998 mm

A satellite at a distance of 36,000 km from an earth station radiates a power of 10 W from an
antenna with a gain of 25 dB. What is the received power if the effective aperture area of the
receiving antenna is 20 m2?

Answers

This an example solved please follow up with they photo I sent ok

The received power if the effective aperture area of the receiving antenna is 20 m2 is 177.77 m2.

What is Power?

In physics, power is referred to as the rate of energy conversion or transfer over time. The unit of power in the SI system, often known as the International System of Units, is the Watt (W). A single joule per second is one watt.

Power was formerly referred to as activity in some research. A scalar quantity is power. As power is always a function of labor done, it follows that if a person's output varies during the day depending on the time of day, so will his power.

A measure of the pace at which energy is transferred, power is a physical quantity. As a result, it can be described as the pace of job completion relative to time.

Therefore, The received power if the effective aperture area of the receiving antenna is 20 m2 is 177.77 m2.

To learn more about Power, refer to the link:

https://brainly.com/question/29575208

#SPJ2

Who is he where is he from

Answers

Answer:

Levi Ackerman  is the tritagonist of the anime/manga series Attack on Titan. He is a Captain in the Survey Corps , known to be the strongest soldier alive. He has a harsh and unsocial personality, but is well-regarded by his subordinates and he cares about their lives. Levi Ackerman spent his childhood in the Underground City. It was the slums of the Attack on Titan’s entire world

Explanation:

Define hermetic compressor

Answers

Answer:

Hermetic compressors are ideal for small refrigeration systems, where continuous maintenance cannot be ensured.

Define;
i) Voltage
ii) Current
iii) Electrical Power
iv) Electrical Energy​

Answers

Answer:

I) Voltage - is the pressure from an electrical circuit's power source that pushes charged electrons (current) through a conducting loop, enabling them to do work such as illuminating a light. In brief, voltage = pressure, and it is measured in volts (V).

II) Current - is the movement of electrons through a wire. Electric current is measured in amperes (amps) and refers to the number of charges that move through the wire per second. If we want current to flow directly from one point to another, we should use a wire that has as little resistance as possible.

III) Electrical Power - is the rate, per unit time, at which electrical energy is transferred by an electric circuit. The SI unit of power is the watt, one joule per second. Electric power is usually produced by electric generators, but can also be supplied by sources such as electric batteries.

IV) Electrical Energy - is a form of energy resulting from the flow of electric charge. Energy is the ability to do work or apply force to move an object. In the case of electrical energy, the force is electrical attraction or repulsion between charged particles.

Explanation:

I hope ot helps to you a lot! Correct me if I'm wrong.

Barries of effective
communication?

Answers

Answer: barries

Explanation:

Design a counter that counts the following sequence of 2-0-1-3 and repeat.

Answers

Answer:

Hello your question is incomplete below is the complete question

Design a counter that counts the following sequence of 2-0-1-3 and repeat. Use the JK flip-flops given to you at the start of the semester. These values will be displayed on a seven-segment display like the one used in Lab 3

answer : attached below

Explanation:

Designing a counter that counts in a given sequence can be done using Logic gates that will be used to control the counter. we will design the counter using the 7 segment display

Note : The first Image is the segment display and the second image is the design of the counter

A 10 cm thick slab (density 8530 kg/m3 , specific heat 380J/kg K, conductivity 110 W/m K) initially at 650C is being cooled by air at 15C (convection coefficient 220 W/m2 K) at left surface. The right surface is insulated. We want to estimate temperature in the slab. a. What will be the temperature of the slab after a very long time

Answers

Answer:

The temperature after a long time will return to 15°C

Explanation:

Determine the temperature of the slab after a very long time

First we calculate the heat flow for m^2 area normal to the surface

= q / A = 650°c - 15°C / ( 1 / h  + L / K )

           = 635°c  / ( 1 / 220 + 0.1 / 110 )  = 116.416 kw/m^2

Total heat content in the slab is calculated as

= m* c * ΔT

= 8530 * A * 0.1 * 380 * ( 650 - 15 )

= 205828.9  kJ/m^2

The temperature will return to 15°C after a long time

a Compass is a weak magnet that aligns itself to the local Electric Field

Select one:
True
False

Answers

Answer:

true

Explanation:

calculate the radius of a circular orbit for which the period is 1 day​

Answers

Answer:

(T²/D³)sys1 = (T²/D³)sys2

sys1 = earth-moon

sys2 = earth-sat

(27.33day)²/(3.8e8m)³ = (1day)²/D³

D = cbrt(7.3e22m³) = 4.2e7 m

Explanation:

exchange in capacity whilst a satellite tv for pc differences altitude How plenty paintings could be executed to flow the satellite tv for pc into yet another around orbit it is bigger above the outdoors of the Earth? satellite tv for pc exchange in capacity with top Assuming the satellite tv for pc is to be boosted to a clean top r? Gravitational capacity capacity (to center of earth) new orbit(2) has a greater robust PE than old one(a million), so exchange is helpful PE = G m?m?/r earth GM = 3.98e14 ?PE = (GM)(m)(a million/r? – a million/r?) KE additionally differences. Get speed at each and every top. New orbit(2) has decrease speed, so exchange is damaging v = ?(GM/R) V? = ?(GM/r?) V? = ?(GM/r?) ?KE = –½m(V?² – V?²) ?KE = –½mGM(a million/r? – a million/r?) including the two ?E = (GM)(m)(a million/r? – a million/r?)– ½mGM(a million/r? – a million/r?) ?E = ½mGM(a million/r? – a million/r?) ?E = ½(3.98e14)(7500) [a million/(0.5e7) –a million/(3.3e7) ] ?E = ½(3.98e14)(7500)(1e-7) [a million/(0.5) –a million/(3.3) ] ?E = ½(3.98e7)(7500) [2 – 0.303 ] ?E = ½(3.98e7)(7500)(a million.70) ?E = 2.04e11 Joules edit, corrected .

The radius of a circular orbit will be "[tex]\frac{V}{2 \pi} \ km[/tex]".

According to the question,

The orbit period of satellite,

Time = 1 day

Total distance will be equal to the orbit's circumference, then

Distance = [tex]2 \pi r[/tex]

Let,

The velocity be "V km/day".

As we know,

→ [tex]Distance = Velocity\times time[/tex]

By substituting the values, we get

→          [tex]2 \pi r = V\times 1[/tex]

→              [tex]r = \frac{V}{2 \pi} \ km[/tex]

Thus the above is the right answer.

Learn more about radius of orbit here:

https://brainly.com/question/12859535

The ____ neurons allow the body to move and are greatly influenced by electri
A. compression
B. motor
C. positive
D. mobile

Answers

The Neurons allow the body to move
A

Answer:

the answer would be B motor

In warm climates, a vapor barrier is placed on the exterior side of the insulation, and in cold climates it is installed on the interior side of the
insulation. Which of the following explains this placement of the barrier?
The barrier should always be placed on the side opposite from where the water condenses.
The barrier should always be placed on the side opposite where rain or snow hit.
The barrier should always be placed on the side where rain or snow hit.
The barrier should always be placed on the side where the water condenses

Answers

Answer: its c

Explanation:

Which statements describe the motion of car A and car B? Check all that apply. Car A and car B are both moving toward the origin. Car A and car B are moving in opposite directions. Car A is moving faster than car B. Car A and car B started at the same location. Car A and car B are moving toward each other until they cross over.

Answers

Answer:

car a is moving faster than the car b

Answer:

B: Car A and car B are moving in opposite directions.

C: Car A is moving faster than car B.

E: Car A and car B are moving toward each other until they cross over.

Explanation:

I just did the assignment on EDGE2020 and it's 200% correct!  

Also, heart and rate if you found this answer helpful!! :) (P.S It makes me feel good to know I helped someone today!!)  :)  

Which of the following is NOT a factor affecting resource and material management?
A:Equipment
B:Safety
C:Labor
D:Materials

Answers

C: Labor it NOT A FACTOR

a) For Well A, provide a cross-section sketch that shows (i) ground elevation, (ii) casing height, (iii) depth to
water table, (iv) sampling depth, (v) elevation of the well top of casing, (vi) water table elevation, (vii) elevation
head of the water sampled for bromide, and (viii) pressure head of the water sampled for bromide. Label each of
these distances with the above phrases, plus a unique variable.
b) Calculate the following for each well: (i) elevation of the well top of casing, (ii) water table elevation,
(iii) sampling port elevation, (iv) elevation head of the water sampled for bromide, and (v) pressure head of the
water sampled for bromide. Use sea level as your vertical datum. Write out all calculations (including equations
with variables) for Well A.

Answers

Don’t go on that file will give a virus! Sorry just looking out and I don’t know how to comment!

How will the proposed study contribute to your career?*
(quantity Surveying​

Answers

Answer:

PROPOSED STUDY CONTRIBUTES TO YOUR CAREER. Proposed study is essential for career growth. It contributes to our career in a great way. It enhances leadership skills and polish our skills making us more competent. It expand our horizons and opportunities. It gives us better understanding of things. We become able of developing professional relationships with our students as well as development sector which helps in future projects.

Hope this help!:)

In a certain company the cost of software depends on the license type which could be Individual or Enterprise. Write a program that reads  License Type wanted (just the first character of each type: I, i, E, e).  Number of Users to use the software. Type Price/User Minimum number of users Individual 500$ 1 Enterprise 300$ 5 Your program should:  Check if the number of users is greater than or equal than Minimum Number of Users allowed Compute the cost: (for example cost = Cost per user x Number of Users)

Answers

Solution :

import [tex]$\text{java}.$[/tex]util.*;

public [tex]$class$[/tex] currency{

  public static [tex]$\text{void}$[/tex] main(String[tex]$[]$[/tex] args) {

      Scanner input [tex]$=$[/tex] new Scanner(System[tex]$\text{.in}$[/tex]);

      System[tex]$\text{.out.}$[/tex]print("Enter [tex]$\text{number of}$[/tex] quarters:");

      int quarters = input.nextInt();

      System.out.print("Enter number of dimes:");

      int [tex]$\text{dimes =}$[/tex] input.nextInt();

      System[tex]$\text{.out.}$[/tex]print("Enter number of nickels:");

      int nickels = input.nextInt();

      System[tex]$\text{.out.}$[/tex]print("Enter number of pennies:");

      int [tex]$\text{pennies = }$[/tex] input.nextInt();

      // computing dollors

      double dollars = (double) ((quarters*0.25)+(dimes*0.10)+(nickels*0.05)+(pennies*0.01));

      System[tex]$\text{.out.}$[/tex]format("You have : $%.2f",dollars);

  }

}

Consider a convergent-

Answers

Answer: we need the full question

A cylindrical rod of brass originally 10 mm in diameter is to be cold worked by drawing. The circular cross section will be maintained during deformation. A cold-worked tensile strength in excess of 380 MPa and a ductility of at least 15 %EL are desired. Furthermore, the final diameter must be 7.5 mm. Explain how this may be accomplished. Use the graphs given in previous question.

Answers

Answer:

Explanation:

From the information given:

original diameter [tex]d_o[/tex] = 10 mm

final diameter [tex]d_f =[/tex] 7.5 mm

Cold work tensile strength of brass = 380 MPa

Recall that;

[tex]\text {The percentage CW }= \dfrac{\pi (\dfrac{d_o}{2})^2 - \pi(\dfrac{d_f}{2})^2 }{\pi(\dfrac{d_o}{2})^2} \times 100[/tex]

[tex]\implies \dfrac{\pi (\dfrac{10}{2})^2 - \pi(\dfrac{7.5}{2})^2 }{\pi(\dfrac{10}{2})^2} \times 100[/tex]

[tex]\implies43.87\% \ CW[/tex]

→ At 43.87% CW, Brass has a tensile strength of around 550 MPa, which is greater than 380 MPa.

→ At 43.87% CW, the ductility is less than 5% EL, As a result, the conditions aren't met.

To achieve 15% EL, 28% CW is allowed at most

i.e

The lower bound cold work = 15%

The upper cold work = 28%

The average = [tex]\dfrac{15+28}{2}[/tex] = 21.5 CW

Now, after the first drawing, let the final diameter be [tex]d_o^'[/tex]; Then:

[tex]4.5\% \ CW = \dfrac{\pi (\dfrac{d_o^'}{2})^2 - (\dfrac{7.5}{2})^2}{\pi (\dfrac{d_o^'}{2})^2}\times 100[/tex]

By solving:

[tex]d_o^'} = 8.46 mm[/tex]

To meet all of the criteria raised by the question, we must first draw a wire with a diameter of 8.46 mm and then 21.5 percent CW on it.

Which of these is shown in the photo below?
A. Radiator
B. Surge tank
C. Overflow tank
D. Water pump

Answers

Answer:

Option C

Explanation:

The image given in the question represents an overflow tank

Since a water pump has rotor and blades (which is not visible in the given image), hence, this image is not of water pump.

The surge tank has a different structure as compared to that of overflow tank

Radiator looks like a metallic structure with parallel blades.

Hence, option C is correct

Combinations of velocity and acceleration

Answers

Answer:

acceleration=change in velocity/ time

Explanation:

The velocity of an object is its speed in a particular direction. Velocity is a vector quantity because it has both a magnitude and an associated direction. To calculate velocity, displacement is used in calculations, rather than distance.

Let xa(t)be an analog signal with bandwidth B=3kHz. We wishto use an ????=2m–pointDFT to compute the spectrum ofthe signal with a resolution less than or equal to 50 Hz.
Determine
(a) the minimum sampling rate,
(b) the minimum number of required samples, and
(c) the minimumlength of the analog signal record(in seconds).

Answers

Answer:

a) the minimum sampling rate is 6 kHz

b) the minimum numbers of required samples are 120

c) the minimum length of the analog signal is 0.02 s

Explanation:

Given the data in the question;

(a) the minimum sampling rate;

band width of analog signal xₐ(t) is;

bandwidth B = 3kHz

Now, according to sampling theorem, minimum sampling rate F[tex]_s[/tex] must be twice the bandwidth of the signal.

so

F[tex]_s[/tex] = 2B

F[tex]_s[/tex] = 2( 3 kHz )

F[tex]_s[/tex] = 6 kHz

Therefore, the minimum sampling rate is 6 kHz

(b) the minimum number of required samples;

Let L represent the minimum number of samples required,

given that; required resolution of the spectrum of the signal is less than or equal to 50 Hz

F[tex]_s[/tex]/L ≤ 50

L ≥ F[tex]_s[/tex]/50

L ≥ ( 6 × 1000 Hz ) / 50

L ≥ 6000 / 50

L ≥ 120

Therefore, the minimum numbers of required samples are 120

(c) the minimum length of the analog signal record(in seconds).

minimum number of samples required is 120

T = L /  F[tex]_s[/tex]

T = 120 / ( 6 × 1000 Hz )

T = 120 / 6000

T = 0.02 s

Therefore, the minimum length of the analog signal is 0.02 s

The part in the photo below is

A. an evaporator.
B. an accumulator.
C. a condenser.
D. a compressor.

Answers

Answer: a accumulator

Explanation:

Identify parts of the E-Cig that constitute voltage, current, and resistance. Discuss the role each plays in the E-Cig and typical values for each including units.
Discuss the electrical dangers of an E-Cig. Give specific examples.
There are many electrical safety rules. Pick one, and discuss its application on a small system, such as the E-Cig.

Answers

Answer: c

Explanation:

Which of these parts converts the spinning motion of the driveshaft 90° to turn the wheels?
A. Transmission
B. Axle
C. Differential
D. Engine

Answers

B. Axle by g hfffdggfrfgf
B. Axle aidgdkdidhskav

2. (Problem 4.60 on main book, diameters different) Water flows steadily through a fire hose and nozzle. The hose is 35 mm diameter and the nozzle tip is 25 mm diameter; water gage pressure in the hose is 510 kPa, and the stream leaving the nozzle is uniform. The exit speed and pressure are 32 m/s and atmospheric, respectively. Find the force transmitted by the coupling between the nozzle and hose. Indicate whether the coupling is in tension or compression.

Answers

Answer:

coupling is in tension

Force = -244.81 N

Explanation:

Diameter of Hose ( D1 ) = 35 mm

Diameter of nozzle ( D2 ) = 25 mm

water gage pressure in hose = 510 kPa

stream leaving the nozzle is uniform

exit speed and pressure = 32 m/s and atmospheric

Determine the force transmitted by the coupling between the nozzle and hose

attached below is the remaining part of the  detailed solution

Inlet velocity ( V1 ) = V2 ( D2/D1 )^2  

= 32 ( 25 / 35 )^2

= 16.33 m/s

If it is struck by a rigid block having a weight of 550 lblb and traveling at 2 ft/sft/s , determine the maximum stress in the cylinder. Neglect the mass of the cylinder. Express your answer to three significant figures and include appropriate units.

Answers

This question is incomplete, The missing image is uploaded along this answer below;

Answer:

the maximum stress in the cylinder is 3.23 ksi

 

Explanation:

Given the data in the question and the diagram below;

First we determine the initial Kinetic Energy;

T = [tex]\frac{1}{2}[/tex]mv²

we substitute

⇒ T = [tex]\frac{1}{2}[/tex] × (550/32.2) × (2)²

T = 34.16149 lb.ft

T =  ( 34.16149 × 12 ) lb.in  

T = 409.93788 lb.in

Now, the volume will be;

V = [tex]\frac{\pi }{4}[/tex]d²L

from the diagram; d = 0.5 ft and L = 1.5 ft

so we substitute

V =  [tex]\frac{\pi }{4}[/tex] × ( 0.5 × 12 in )² × ( 1.5 × 12 in )

V = 508.938 in³

So by conservation of energy;

Initial energy per unit volume = Strain energy per volume

⇒ T/V = σ²/2E

from the image; E = 6.48(10⁶) kip

so we substitute

⇒ 409.93788 / 508.938 = σ²/2[6.48(10⁶)]

508.938σ² =  5,312,794,924.8

σ² = 10,438,982.5967  

σ = √10,438,982.5967

σ = 3230.9414  

σ = 3.2309 ksi  ≈ 3.23 ksi    { three significant figures }

Therefore, the maximum stress in the cylinder is 3.23 ksi

Water from an upper tank is drained into a lower tank through a 5 cm diameter iron pipe with roughness 2 mm. The entrance to the pipe has minor loss coefficient 0.4 and the exit has minor loss coefficient of 1, both referenced to the velocity in the pipe. The water level of the upper tank is 4 m above the level of the lower tank, and the pipe is 5 m long. You will find the drainage volumetric flow rate. a) What is the relative roughness

Answers

Answer:

Relative roughness = 0.04

Explanation:

Given that:

Diameter = 5 cm

roughness = 2 mm

At inlet:

Minor coefficient loss [tex]k_{L1} = 0.4[/tex]

At exit:

Minor coefficient loss [tex]k_{L2} = 1[/tex]

Height h = 4m

Length = 5 m

To find the relative roughness:

Relative roughness is a term that is used to describe the set of irregularities that exist inside commercial pipes that transport fluids. The relative roughness can be evaluated by knowing the diameter of the pipe made with the absolute roughness in question. If we denote the absolute roughness as e and the diameter as D, the relative roughness is expressed as:

[tex]e_r = \dfrac{e}{D}[/tex]

[tex]e_r = \dfrac{0.2 }{5}[/tex]

[tex]\mathbf{e_r = 0.04}[/tex]

In 1951, a small approach embankment was constructed for a highway bridge over a river south of Los Angeles. The embankment was underlain by 5 ft of organic clay. Records of the settlement rate indicate that 90% of the consolidation settlements occurred in the first 4.5 years after construction. A new bridge over the river is now planned for a site a few hundred yards from the old bridge. The approach embankment to the new bridge will be underlain by 20 ft of the same organic clay found at the old bridge site. Estimate the time required to achieve an average degree of consolidation of 90% under the new embankment. Assume single drainage from the organic clay at both sites..

Answers

Answer:

72 years

Explanation:

The degree of consideration is the same for both bridges = 90%

Height  of first highway bridge( d1 ) = 5 ft

Time to consolidation ( t1 )= 4.5 years

Height of second bridge ( d2 ) = 20 ft

Time to consolidation ( t2 ) = ?

we will apply this relation below

Tv = Cv * t / d^v

Tv = constant

for a single drainage condition : t ∝ d^v hence; d = H

∴ [tex]\frac{t_{2} }{t_{1} } = (\frac{d_{2} }{d_{1} })[/tex]^2

t2 = t1 ( d2/d1 )^2

   = 4.5 ( 20 / 5 )^2

  = 72 years

Other Questions
Exhibit 5-10, and using the expenditures approach, compute personal consumption expenditures. Which of the following is correct?(A). $1,280 billion(B). $ 6,600 billion(C). $2,794 billion.(D). $ 1,180 billion A compressor that has the motor and compressor in a housing that is bolted together is called a(n) __________ type. please help... mathematics chapter circles What is an action potential basic answer? Which of the following is one of the most important facts known about the effect of alcohol on driving ability?A) It takes several drinks to make noticeable effects on a driver's ability.B) Most people drive slower after a drink of two.C) Small amounts of alcohol lower a user's ability without a person realizing it.D) After a period of time, drivers develop an immunity to the effects of alcohol. The "elastic clause" expands the power of what branch of government to do what is "necessary and proper" to carry out its enumerated powers?A. The Executive BranchB. The judiciaryC. CongressD. None of the above WIf a chemist starts with 100 grams of Al(OH)3, how much water will be produced?2Al(OH)3 + 3H 2AI + 6HO Subtract the polynomial: x2 + 2x + 1 (x 3) What is the first thing that you need to consider when writing a paragraph with the source material? Decide whether the rates are equivalent. 24 laps in 6 minutes 72 laps in 18 minutes. What is the infinitive rule? What is roots theorem number? Why did kenyatta want to distance himself from the mau mau? check all that apply. What are two ways of measuring profitability? put in order. the supreme court strikes down the law, supreme court hears a case about the law, congress passes a law According to writer Daniel Goleman, the emotional mind O lacks the ability to be impulsive. O is sometimes illogical. O is aware of reality. O allows one to ponder and reflect. What are the 5 critical control points? What are three major sources of federal revenues ? choose ten answers that could complete the following statement. if relativism were true, then there would be no: you have 84 feet of fencing to enclose a rectangular plot that borders on a river. if you do not fence the side along the river, fidn the length and width of the plot that will maximise the area