Respuesta :

A piecewise function is a function that behaves differently in different intervals of its domain.

The piecewise function is:

  • f(x) = $10   if  0 < x < 6
  • f(x) = $15   if  6 ≤ x  ≤ 18
  • f(x) = $20  if 18 < x

Here the given information for the function is:

  1. The museum charges $10 for kids of 5 and under
  2. The museum charges $15 for ages of 6 to 18
  3. The museum charges $20 for ages larger than 18.

Then if we define x as the age of the person, the function f(x) that tells the cost of the ticket will be:

  • f(x) = $10   if  0 < x < 6
  • f(x) = $15   if  6 ≤ x  ≤ 18
  • f(x) = $20  if 18 < x

So as you can see, depending on the value of x and in which interval it belongs, the function behaves differently.

If you want to learn more, you can read:

https://brainly.com/question/12561612