Solving for a, b, and c in this equation for $ revenue for a circus

  • Thread starter PhysicsInept
  • Start date
In summary, you need to choose a children count of 60 or 80 in order to cover the maximum amount with adult and senior contributions.
  • #1
PhysicsInept
9
1
Homework Statement
Not homework but a puzzle I’m working on.

It costs money to enter the circus.
Adults are $5
Seniors are $2
Children are 10¢

100 people entered the circus and the total amounted to $100
Relevant Equations
So given this, I created the equation…..
5a + 2b + .1c = 100

Is this correct?

I’ve been able to determine the appropriate equation for calculating each of a, b, and c but of course one needs to know the values of the other 2 variables.

Is there a formula to determine this?
I haven’t yet found a method to solve my equation, assuming it can be. So far I’ve just attempted trial and error, using variations of values. I figured either 60 or 80 children in order to get the high number but just haven’t been able to tweak it yet.

Thanks
 
Physics news on Phys.org
  • #2
Normally, you would want 3 equations for three unknowns.
But in this case you have one more equation (what is it) and something else about a, b, c.

Each of a b and c represent a count of people. What another way of saying that?That said, even with that other equation, you will need a bit of trial and error.
But you can put bounds on the problem. For example, does it make sense for there to be more than 100 children? So what would be the minimum dollar amount that needs to be covered by adults and seniors?
 
  • #3
This is an example of an integer linear programming problem. They are NP-hard and can grow explosively. I am not an expert on them, but a small problem like this can be done easily by brute force with a small computer program running through all possible combinations.
Mentor note: solution deleted as OP had not found it yet.
There are a few methods to reduce the explosive nature of these problems, but these problems remain difficult to solve. (See this.)
 
Last edited by a moderator:
  • #4
Since the solution was given.
Mentor note: previously given answer is now deleted, so part of what was written below has been deleted.
1) you wrote down the money equation correctly.
2) <snip>
3) the third thing is that a,b and c need to be non-negative integers.

Since you only have two equations, you will only be able to eliminate 2 of the variables (i.e. two of the variables will be expressed terms of the third). You will use the fact that the variables need to be integers to figure out the third variable.

A couple of hints:
Looking at the money equation, I noticed that only one group had cents, so I chose to write c=10d so that the solution would only have dollar terms.
Think about the value of d in reference to the two equations, you will see that it needs to be 6, 7 or 8.
 
Last edited by a moderator:
  • #5
PhysicsInept said:
So far I’ve just attempted trial and error, using variations of values. I figured either 60 or 80 children in order to get the high number but just haven’t been able to tweak it yet.

So let's work with the numbers you have.
Clearly you have discovered that choosing a children count "c" is a good starting point - because there are so many values of c that can't work. For example, any c=3 will give a total revenue that includes an integer dollar amount plus 30 cents - and thus can never work.

For c=60
a+b must be 40
5a + 2b must be 94
That's 2 equations and 2 unknown. Solve it.

For c=80
a+b must be 20
5a + 2b must be 92
That's 2 equations and 2 unknown. Solve it.
 
  • Like
Likes FactChecker

FAQ: Solving for a, b, and c in this equation for $ revenue for a circus

What is the general form of the revenue equation for a circus?

The general form of the revenue equation for a circus is typically expressed as a quadratic equation: Revenue = aX^2 + bX + c, where X represents the number of tickets sold, and a, b, and c are constants that need to be determined.

How can I determine the values of a, b, and c in the revenue equation?

To determine the values of a, b, and c, you need data points that provide the number of tickets sold (X) and the corresponding revenue. By substituting these data points into the quadratic equation, you can set up a system of equations and solve for a, b, and c using methods such as substitution, elimination, or matrix operations.

What does each coefficient (a, b, and c) represent in the context of circus revenue?

In the context of circus revenue, 'a' represents the quadratic coefficient that affects the curvature of the revenue graph, indicating how revenue changes as ticket sales increase. 'b' is the linear coefficient that impacts the slope of the revenue graph, showing the direct relationship between ticket sales and revenue. 'c' is the constant term, representing the base revenue when no tickets are sold.

Why might a quadratic model be appropriate for modeling circus revenue?

A quadratic model might be appropriate for modeling circus revenue because it can capture the nonlinear relationship between ticket sales and revenue. For instance, revenue might initially increase with ticket sales but eventually decrease due to factors like capacity limits, additional costs, or reduced marginal returns on ticket sales. The quadratic model can reflect this rise and fall pattern.

Can I use software tools to solve for a, b, and c in the revenue equation?

Yes, you can use various software tools to solve for a, b, and c in the revenue equation. Tools such as Microsoft Excel, MATLAB, Python (with libraries like NumPy and SciPy), and statistical software like R can perform regression analysis or solve systems of equations to find the coefficients. These tools can handle large datasets and provide accurate solutions efficiently.

Back
Top