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
A steel bar 100 mm (4.0 in.) long and having a square cross section 20 mm (0.8 in.) on an edge is pulled intension with a load o
grigory [225]

Answer:

The elastic modulus of the steel is 139062.5 N/in^2

Explanation:

Elastic modulus = stress ÷ strain

Load = 89,000 N

Area of square cross section of the steel bar = (0.8 in)^2 = 0.64 in^2

Stress = load/area = 89,000/0.64 = 139.0625 N/in^2

Length of steel bar = 4 in

Extension = 4×10^-3 in

Strain = extension/length = 4×10^-3/4 = 1×10^-3

Elastic modulus = 139.0625 N/in^2 ÷ 1×10^-3 = 139062.5 N/in^2

7 0
3 years ago
The greater the force applied to an object, the _____ the change in speed or direction of the object.
storchak [24]

Answer:

b

Explanation:

8 0
3 years ago
On a average work day more than work place firs are reorted​
Basile [38]
What is the question? It looks like a statement...
8 0
3 years ago
2.
den301095 [7]
Jae pain seems the most off
4 0
3 years ago
As a general rule of thumb, in-line engines are easier to work on than the other cylinder arrangements.
siniylev [52]

Answer:

The general rule of thumb is that the SMALLER a substance's atoms and the STRONGER the bonds, the harder the substance. Two of the strongest forms of chemical bonds are the ionic and covalent bonds.

Explanation:

5 0
2 years ago
Other questions:
  • A rigid tank contains an ideal gas at 40°C that is being stirred by a paddle wheel. The paddle wheel does 240 kJ of work on the
    9·1 answer
  • Steam flows at steady state through a converging, insulated nozzle, 25 cm long and with an inlet diameter of 5 cm. At the nozzle
    11·1 answer
  • . A roadway is being designed capable of allowing 70 mph vehicle speed. The superelevation around one curve is 0.05 inches per i
    15·1 answer
  • A tensile-testing machine is to test specimens of diameter 15 mm which have ultimate tensile strengths of up to 820 N/mm2. What
    10·1 answer
  • Classify the terms as related to a thermal system or mechanical system.
    8·1 answer
  • In the construction of a large reactor pressure vessel, a new steel alloy with a plane strain fracture toughness of 55 MPa-m1/2
    7·1 answer
  • Your friend has two substances A and B which are compressed liquid and superheated vapor respectively. Both are in rigid vessels
    15·1 answer
  • TP-6 What should you do when fueling an outboard boat with a portable tank?
    12·1 answer
  • Prelest! Introduction to Engineering and Technology 1 Select the correct answer. What technological invention allowed for the pr
    5·1 answer
  • Reverse masking forms a soft edge on the panel.
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!