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
Hunter-Best [27]
3 years ago
11

Prompt the user to enter five numbers, being five people's weights. Store the numbers in an array of doubles. Output the array's

numbers on one line, each number followed by one space. (2 pts)
Ex:Enter weight 1:236.0Enter weight 2:89.5Enter weight 3:142.0Enter weight 4:166.3Enter weight 5:93.0You entered: 236.000000 89.500000 142.000000 166.300000 93.000000
Engineering
1 answer:
atroni [7]3 years ago
6 0

Answer:

See below in the explanation section the Matlab script to solve the problem.

Explanation:

prompt='enter the first weight w1:  ';

w1=input(prompt);

wd1=double(w1);

prompt='enter the second weight w2:  ';

w2=input(prompt);

wd2=double(w2);

prompt='enter the third weight w3:  ';

w3=input(prompt);

wd3=double(w3);

prompt='enter the fourth weight w4:  ';

w4=input(prompt);

wd4=double(w4);

prompt='enter the first weight w5:  ';

w5=input(prompt);

wd5=double(w5);

x=[wd1 wd2 wd3 wd4 wd5]

format short

You might be interested in
It is proposed to deposit a 5 μm thick nickel coating uniformly on all surfaces of a ceramic strip measuring 15 cm x 5 cm x 2 cm
MatroZZZ [7]

Answer:

Check the explanation

Explanation:

Let’s take for instance, when an object with a mass of 10 kg (m = 10 kg) is moving at a 5 meters per second (v = 5 m/s) velocity rate, the kinetic energy is equal to 125 Joules

Kindly check the attached images below to get the step by step explanation to the question above.

8 0
3 years ago
It is desired to produce and aligned carbon fiber-epoxy matrix composite having a longitudinal tensile strength of 610 MPa. Calc
julia-pushkina [17]

Answer:

volume fraction of fibers is 0.4

Explanation:

Given that for the aligned carbon fiber-epoxy matrix composite:

Diameter (D) = 0.029 mm

Length (L) = 2.3 mm

Tensile strength (\sigma_{cd}) = 610 MPa

fracture strength (\sigma_f) = 5300 MPa

matrix stress (\sigma_m) =  17.3 MPa

fiber-matrix bond strength (\tau_c) = 19 MPa

The critical length is given as:

L_C=\sigma_f(\frac{D}{2\tau_c} )=5300*10^6(\frac{0.029*10^{-3}}{19*10^6} )=8.1*10^{-3}=8.1mm

Since the critical length is greater than the length, the aligned carbon fiber-epoxy matrix composite can be produced.

The longitudinal strength is given by:

\sigma_{cd}=\frac{L*\tau_c}{D} .V_f+\sigma_m(1-V_f)

making Vf the subject of the formula:

V_f=\frac{\sigma_{cd}-\sigma_m}{\frac{L*\tau_c}{D} -\sigma_m}

Vf is the volume fraction of fibers.

Therefore:

V_f=\frac{\sigma_{cd}-\sigma_m}{\frac{L*\tau_c}{D} -\sigma_m}=\frac{610*10^6-17.3*10^6}{\frac{2.3*10^{-3}*19*10^6}{0.029*10^{-3}}-17.3*10^6} } =0.4

volume fraction of fibers is 0.4

8 0
3 years ago
A murder in a downtown office building has been widely publicized. You’re a police detective and receive a phone call from a dig
BaLLatris [955]

Answer:

Considering the plain view doctrine, which is an exception to the warrant requirement of the Fourth Amendment, is applied by law enforcement officers and courts who can seize evidence of a crime without a warrant, if the officer observes the evidence in plain view.

Explanation:

For any digital information related to a murder case that has been seized under the plain view doctrine to be used to convict you of a crime, has to comply with three conditions:

1.  The digital evidence must be in out in the open, and easily observable by the officer, this is what "plain view" refers to.

2. The officer must have a legal right to be where he got the information related to the case.

3. The 'incriminating' character of the information must be a clear hint of the murder to fall under the plain view doctrine and the officer´s experience will help him determining whether the information is evidence or not, upon probable cause related to a crime.

7 0
3 years ago
Read 2 more answers
In an apartment the interior air temperature is 20°C and exterior air temperatures is 5°C. The wall has inner and outer surface
ELEN [110]

Answer:

20 W/m², 20 W/m², -20 W/m²

Yes, the wall is under steady-state conditions.

Explanation:

Air temperature in room = 20°C

Air temperature outside = 5°C

Wall inner temperature = 16°C

Wall outer temperature = 6°C

Inner heat transfer coefficient = 5 W/m²K

Outer heat transfer coefficient = 20 W/m²K

Heat flux = Concerned heat transfer coefficient × (Difference of the temperatures of the concerned bodies)

q = hΔT

Heat flux from the interior air to the wall = heat transfer coefficient of interior air × (Temperature difference between interior air and exterior wall)

⇒ Heat flux from the interior air to the wall = 5 (20-6) = 20 W/m²

Heat flux from the wall to the exterior air = heat transfer coefficient of exterior air × (Temperature difference between wall and exterior air)

⇒Heat flux from the wall to the exterior air = 20 (6-5) = 20 W/m²

Heat flux from the wall to the interior air = heat transfer coefficient of interior air × (Temperature difference between wall and interior air)

⇒Heat flux from the wall and interior air = 5 (16-20) = -20 W/m²

Here the magnitude of the heat flux are same so the wall is under steady-state conditions.

7 0
3 years ago
To combat overheating, keep a ___________ in your car.
Stells [14]

Answer:

Keep a gallon of water in your car.

Explanation:

Because.

4 0
2 years ago
Read 2 more answers
Other questions:
  • Select all that apply.
    13·1 answer
  • Tech A says that a faulty vacuum booster can affect engine operation. Tech b says that steal brake Ponce can be replaced with a
    6·1 answer
  • If the power factor is corrected to 0.95 lagging, keeping the receiving end MVA constant, what will be the new voltage regulatio
    6·1 answer
  • Problem a) – c): Use the method of joints, the method of sections, or both to solve the following trusses. Draw F.B.Ds for all y
    7·1 answer
  • Calculate the density of the FCC nickel lattice with an interstitial hydrogen in the centered position of the unit cell. You may
    10·1 answer
  • Water at 15°C (rho = 999.1 kg/m^3) from a garden hose fills a 1.5-L container in 2.5 s. Assume that the volume flow rate, tempe
    14·1 answer
  • If you are convicted of D.U.I. a second time in five years, your license may be revoked for up to __________ year/s.
    10·1 answer
  • A.iayos ang mga salita ng paalpabeto​
    12·2 answers
  • As a result of the 1934 requirement that public companies’ annual financial statements be "certified…by independent public accou
    11·1 answer
  • If you measure the voltage across a diode and it measures 0.3 V, the diode is probably made of __________ and is __________ bias
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!