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
evablogger [386]
3 years ago
5

Assign rateMPH with the corresponding rate in miles per hour given a user defined rateKPH, which is a rate in kilometers per hou

r. Use the local function KilometersToMiles. Your Solution g function distanceMiles = CalculateDistance(timeHours, rateKPH) % timeHours: Time in hours A % rateKPH: Rate in kilometers rateMPH = rateKPH; % Call KilometersToMiles function (below) to assign % rateMPH with the corresponding speed in miles per hour distanceMiles = rateMPH * timeHours; end % Do not modify the function below function milesValue = KilometersToMiles(KilometersValue) milesValue = KilometersValue * 0.6213712; 15 end Code to call your function when you click Run Calculate distance(1, 40)

Engineering
2 answers:
Marina86 [1]3 years ago
8 0

Answer:

I attached the screenshot of the code and also the output variable.

Explanation:

The code is well commented, the only things required to be done is to add just another line and implement the below function

zaharov [31]3 years ago
7 0

Answer:

Here is the code for you:

function distanceMiles = CalculateDistance(timeHours, rateKPH)

%timeHours: Time in hours

%rateKPH: Rate in kilometers

rateMPH = KilometersToMiles(rateKPH); %Call KilometersToMiles function(below) to assign

%rateMPH with the corresponding speed in miles per

%hour

distanceMiles = rateMPH * timeHours;

end

function milesValue = KilometersToMiles(KilometersValue)

milesValue = KilometersValue * 0.6213712;

end

And the output screenshot is: [Attached]

You might be interested in
A heat engine that receives heat from a furnace at 1200°C and rejects waste heat to a river at 20°C has a thermal efficiency of
viktelen [127]

Answer:

second-law efficiency  = 62.42 %

Explanation:

given data

temperature T1 = 1200°C = 1473 K

temperature T2 = 20°C  =  293 K

thermal efficiency η = 50 percent

solution

as we know that thermal efficiency of reversible heat engine between same  temp reservoir

so here

efficiency ( reversible ) η1 = 1 - \frac{T2}{T1}      ............1

efficiency ( reversible ) η1  = 1 - \frac{293}{1473}  

so efficiency ( reversible ) η1  = 0.801

so here second-law efficiency of this power plant is

second-law efficiency = \frac{thernal\ efficiency}{0.801}

second-law efficiency = \frac{50}{0.801}  

second-law efficiency  = 62.42 %

3 0
3 years ago
Concerned with the number of maintenance visits the rocket can undergo before being out of service, you have been informed that
Ainat [17]

Answer:

(a) Mn = M₁ + (n-1) (M₂ -M₁) = 1 + (n- 1) 1 = n (b) n > 10 (exceed 10) or n =11 (c) n >50 or n= 51

After making a journey of 51 times, the rocket will be discarded

Explanation:

Solution

(a) Let Mn denotes the number of  maintenance visits after the nth journey

Then M₁ = 1 , M₂ = 1 +M₁ = 2, M₃ = 1 +M₂ = 3

We therefore, notice that M follows an arithmetic sequence

So,

Mn = M₁ + (n-1) (M₂ -M₁)

= 1 + (n- 1) 1 = n

or Mn =n

(b)  For what value of n we will get  fro Mn > 10

Thus,

n > 10 (exceed 10) or n =11

(c)Similarly of Mn is greater than 50 or Mn>50, the rocket will not be used or reused

So,

n >50 or n= 51

After making a journey of 51 times, the rocket will be discarded

7 0
3 years ago
A furnace wall composed of 200 mm, of fire brick. 120 mm common brick 50mm 80% magnesia and 3mm of steel plate on the outside. I
Liula [17]

Answer:

  • fire brick / common brick : 1218 °C
  • common brick / magnesia : 1019 °C
  • magnesia / steel : 90.06 °C
  • heat loss: 4644 kJ/m^2/h

Explanation:

The thermal resistance (R) of a layer of thickness d given in °C·m²·h/kJ is ...

  R = d/k

so the thermal resistances of the layers of furnace wall are ...

  R₁ = 0.200/4 = 0.05 °C·m²·h/kJ

  R₂ = 0.120 2.8 = 3/70 °C·m²·h/kJ

  R₃ = 0.05/0.25 = 0.2 °C·m²·h/kJ

  R₄ = 0.003/240 = 1.25×10⁻⁵ °C·m²·h/kJ

So, the total thermal resistance is ...

  R₁ +R₂ +R₃ +R₄ = R ≈ 0.29286 °C·m²·h/kJ

__

The rate of heat loss is ΔT/R = (1450 -90)/0.29286 = 4643.70 kJ/(m²·h)

__

The temperature drops across the various layers will be found by multiplying this heat rate by the thermal resistance for the layer:

  fire brick: (4543.79 kJ/(m²·h))(0.05 °C·m²·h/kJ) = 232 °C

so, the fire brick interface temperature at the common brick is ...

  1450 -232 = 1218 °C

For the next layers, the interface temperatures are ...

  common brick to magnesia = 1218 °C - (3/70)(4643.7) = 1019 °C

  magnesia to steel = 1019 °C -0.2(4643.7) = 90.06 °C

_____

<em>Comment on temperatures</em>

Most temperatures are rounded to the nearest degree. We wanted to show the small temperature drop across the steel plate, so we showed the inside boundary temperature to enough digits to give the idea of the magnitude of that.

5 0
3 years ago
A box-shaped aquarium has horizontal dimensions 0.5 m by 1 m, and depth 0.5 m, and is filled two-thirds of the way to the surfac
antoniya [11.8K]

Answer:

3270 N/m^2

Explanation:

we can calculate the pressure difference between the bottom and surface of the tank by applying the equation for the net vertical pressure

Py = - Ph ( g ± a )

for a downward movement

Py = - Ph ( g - a )  ------ ( 1 )

From the above data given will  be

p = 1000 kg/m^3, h = 2/3 * 0.5 = 0.33 m , a =2g , g = 9.81

input values into equation 1  becomes

Py =  -Ph ( g - 2g ) = Phg ------ ( 3 )

Py = 1000 * 0.33 * 9.81

    = 3270 N/m^2

6 0
3 years ago
What do we need to do to get CO2 emissions all the way to zero?
Svetlanka [38]

Answer:

A key element is powering economies with clean energy, replacing polluting coal - and gas and oil-fired power stations - with renewable energy sources, such as wind or solar farms. This would dramatically reduce carbon emissions. Plus, renewable energy is now not only cleaner, but often cheaper than fossil fuels

Explanation:

here is your answer if you like my answer please follow

3 0
3 years ago
Other questions:
  • At the end of a power distribution system, a certain feeder supplies three distribution transformer, each one supplying a group
    8·1 answer
  • The outer surface of a spacecraft in space has an emissivity of 0.6 and an absorptivity of 0.2 for solar radiation. If solar rad
    12·1 answer
  • How far do you jog each morning? You prefer to jog in different locations each day and do not have a pedometer to measure your d
    14·1 answer
  • Which of these is least likely a step in replacing a failed compressor?
    12·2 answers
  • A football player attempts a 30‐yd field goal. If he is able to impart a velocity u of 100 ft/sec to the ball, compute the minim
    6·1 answer
  • The organic acid, ACOOH, reacts reversibly with the alcohol BOH, to form the ester ACOOB according to the stoichiometric equatio
    6·1 answer
  • Wiring harnesses run
    12·1 answer
  • What is name for grandmother in German?
    14·1 answer
  • Which lists the order of Energy Career Pathways from the source to the customer?
    9·2 answers
  • What are the BENEFITS and RISKS of using automobiles?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!