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
Aleks [24]
3 years ago
9

Martin paid $94.57 for 24 1/2 gallons of diesel fuel how much did Martin paid for each gallon

Mathematics
1 answer:
katen-ka-za [31]3 years ago
3 0

Answer:

$3.86/gallon

Step-by-step explanation:

Divide the total amount of money paid ($94.57) by the total amount of gallons (24.5)

You might be interested in
What is 190×76=? <br> Please help!
mart [117]
190*76 is equal to 14440.
6 0
3 years ago
Read 2 more answers
5. The recursive algorithm given below can be used to compute gcd(a, b) where a and b are non-negative integer, not both zero.
s2008m [1.1K]

Implementating the given algorithm in python 3, the greatest common divisors of <em>(</em><em>124</em><em> </em><em>and</em><em> </em><em>244</em><em>)</em><em> </em>and <em>(</em><em>4424</em><em> </em><em>and</em><em> </em><em>2111</em><em>)</em><em> </em>are 4 and 1 respectively.

The program implementation is given below and the output of the sample run is attached.

def gcd(a, b):

<em>#initialize</em><em> </em><em>a</em><em> </em><em>function</em><em> </em><em>named</em><em> </em><em>gcd</em><em> </em><em>which</em><em> </em><em>takes</em><em> </em><em>in</em><em> </em><em>two</em><em> </em><em>parameters</em><em> </em>

if a>b:

<em>#checks</em><em> </em><em>if</em><em> </em><em>a</em><em> </em><em>is</em><em> </em><em>greater</em><em> </em><em>than</em><em> </em><em>b</em>

return gcd (b, a)

<em>#if</em><em> </em><em>true</em><em> </em><em>interchange</em><em> </em><em>the</em><em> </em><em>Parameters</em><em> </em><em>and</em><em> </em><em>Recall</em><em> </em><em>the</em><em> </em><em>function</em><em> </em>

elif a == 0:

return b

elif a == 1:

return 1

elif((a%2 == 0)and(b%2==0)):

<em>#even</em><em> </em><em>numbers</em><em> </em><em>leave</em><em> </em><em>no</em><em> </em><em>remainder</em><em> </em><em>when</em><em> </em><em>divided</em><em> </em><em>by</em><em> </em><em>2</em><em>,</em><em> </em><em>checks</em><em> </em><em>if</em><em> </em><em>a</em><em> </em><em>and</em><em> </em><em>b</em><em> </em><em>are</em><em> </em><em>even</em><em> </em>

return 2 * gcd(a/2, b/2)

elif((a%2 !=0) and (b%2==0)):

<em>#checks</em><em> </em><em>if</em><em> </em><em>a</em><em> </em><em>is</em><em> </em><em>odd</em><em> </em><em>and</em><em> </em><em>B</em><em> </em><em>is</em><em> </em><em>even</em><em> </em>

return gcd(a, b/2)

else :

return gcd(a, b-a)

<em>#since</em><em> </em><em>it's</em><em> </em><em>a</em><em> </em><em>recursive</em><em> </em><em>function</em><em>,</em><em> </em><em>it</em><em> </em><em>recalls</em><em> </em><em>the function</em><em> </em><em>with </em><em>new</em><em> </em><em>parameters</em><em> </em><em>until</em><em> </em><em>a</em><em> </em><em>certain</em><em> </em><em>condition</em><em> </em><em>is</em><em> </em><em>satisfied</em><em> </em>

print(gcd(124, 244))

print()

<em>#leaves</em><em> </em><em>a</em><em> </em><em>space</em><em> </em><em>after</em><em> </em><em>the</em><em> </em><em>first</em><em> </em><em>output</em><em> </em>

print(gcd(4424, 2111))

Learn more :brainly.com/question/25506437

6 0
3 years ago
Realy need help if you help thank you so much
stepladder [879]

Answer:

B

Step-by-step explanation:

Rate, in this case, is mph which can be written as miles/hours.

HTH :)

7 0
3 years ago
Workers in an office of 60 staff were asked their favourite type of take-away.
nikdorinn [45]

Answer:

a = 84°

b = 36°

c = 24°

d = 84°

e = 132°

Step-by-step explanation:

The parameters of the workers in the office are;

The number of staffs in the office = 60 staffs

The take-aways are pizza, curry, fish & chips, kebab and other

The frequency for the above take-aways = 14, 6, 4, 14, and 22 respectively

The variables for the angles representing the above take-aways on the pie chart = 'a', 'b', 'c', 'd', and 'e'; respectively

In order to find the size of the angles that represent each group of workers in the pie chart, we find the ratio of the group size to the total number of workers and we multiply the result by 360° as follows;

∠a = 360° × 14/60 = 84°

∠b = 360° × 6/60 = 36°

∠c = 360° × 4/60 = 24°

∠d = 360° × 14/60 = 84°

∠e = 360° × 22/60 = 132°

5 0
3 years ago
Three airlines serve a small town in Ohio. Airline A has 52% of all scheduled flights, airline B has 27% and airline C has the r
julia-pushkina [17]

Answer:

Step-by-step explanation:

Given that three airlines serve a small town in Ohio. Airline A has 52% of all scheduled flights, airline B has 27% and airline C has the remaining 21%.

Their on-time rates are 83%, 66%, and 36%, respectively.

Airlines A B C  

   

Flights                52%                  27%             21%   100%

On time rates  83%                  66%         36%  

   

Flight*online rates 43.1600% 17.8200% 7.5600% 68.5400%

Thus the above table shows the product of no of flights and on time rates.

Prob it was airline A given it left on time

= \frac{43.16}{68.54} \\=0.6297

4 0
3 years ago
Other questions:
  • What is the nth term of 0 3 8 15 24 35 48
    5·1 answer
  • What is a equalateral triangle?
    9·1 answer
  • How many 0.4 liter glasses of water are contained in a 5.2 - liter pitcher? How do you find it out step by step?
    13·1 answer
  • Let sin t = a​, cos t = b​, and tan t = c. Write the expression in terms of​ a, b, and c.
    14·1 answer
  • Anyone wanna join my arsenal server we have giveaways (nitro and robuxs and etc) and tournaments. In tournaments the winner will
    6·1 answer
  • Classify the number as rational or irrational.
    13·2 answers
  • Transform the kilometers into percentages pls
    11·1 answer
  • Given the following diagram, what is the value of y? *<br> A) 12<br> B) 6<br> C) 12√2<br> D) 6√2
    15·2 answers
  • What is the probability of drawing a queen or a heart from a standard deck of 52 cards?
    6·2 answers
  • 1. The length of a ribbon is 5/6 meter. Shayla needs pieces measuring 1/5 meter for an art project. What is the Greatest number
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!