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
Architecture reflects multidisciplinary
vovangra [49]

Answer:

The architectural profession is multidisciplinary. ... Some of the disciplines which intervene in the design of a building are: architectural composition, structural engineering, architectural technology and energy engineering. Depending on the strategy of designing, one or more disciplines can have priority over others..

Explanation:

Hope it helps you..

Just correct me if I'm Wrong..

But, your welcome in advance..

(╥﹏╥)(ㆁωㆁ)

6 0
3 years ago
A geothermal heat pump absorbs 15 KJ/s of heat from the Earth 15 m below a house. This heat pump uses a 7.45 kJ/s compressor.
Oxana [17]

Answer:

COP of heat pump=3.013

COP of cycle=1.124

Explanation

W = Q2 - Q1 ----- equation 1

W = work done

Q2 = final energy

Q1 = initial energy

A) calculate the COP of the heat pump

COP =Q2/W

from equation 1

Q2 = Q1 + W = 15 + 7.45 = 22.45 KW

therefore COP =22.45/7.45  = 3.013

B) COP when cycle is reversed

COP = Q1/W

from equation 1

Q1 + W = Q2 ------ equation 2

Q2 = 15 Btu/s = 15 * 1.055 = 15.825 KW therefore from equation 2

Q1 = 8.375 KW

COP =8.375/7.45   = 1.124

6 0
3 years ago
Read 2 more answers
The crash rate per mile is.
Colt1911 [192]

Answer:

75 percent

Explanation:

8 0
3 years ago
Am I alive I really need to know?
Nesterboy [21]
Hell no,cause i’m not
5 0
3 years ago
How does a 2.5 MW wind turbine costing $ 4 million compare to a 5-kw wind turbine $3 /W? a) Same $/w b) Smaller $/w c) Larger $/
My name is Ann [436]
MW means megawatt, and one megawatt is a million Watts.
The 2.5 MW turbine is 4/2.5=1.6 $/w
Answer B
4 0
3 years ago
Other questions:
  • Consider the following pulley system. A block of mass m is connected to a translational spring of stiffness k through a cable, w
    10·1 answer
  • The fouling on the heat exchanger surfaces causes additional thermal resistance, thus decreases the heat transfer rate. a)- True
    11·1 answer
  • A light pressure vessel is made of 2024-T3 aluminum alloy tubing with suitable end closures. This cylinder has a 90mm OD, a 1.65
    8·1 answer
  • Place these events in chronological order. Put the numbers 1-6 next to the<br> events.
    15·1 answer
  • 2 definiciones de personas en Técnicos en ingeniería eléctrica y agregar link.<br> Por favor❗❗❗
    13·1 answer
  • Bob would like to run his house off the grid, therefore he needs to find out how many solar panels and batteries he needs to buy
    12·1 answer
  • Documentation of a flow chart?
    7·1 answer
  • Who made the frist ever car
    13·2 answers
  • A 20cm-long rod with a diameter of 0.250 cm is loaded with a 5000 N weight. If the diameter of the bar is 0.490 at this load, de
    7·1 answer
  • All of the following affect friction EXCEPT
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!