Respuesta :
Answer:
The system is:
[tex]50m+200u\leq 1,000[/tex]
[tex]u\leq 3[/tex]
[tex]u\geq 0[/tex]
[tex]m\geq 10[/tex]
Step-by-step explanation:
The variables of your equations are:
[tex]m=\text{number of marines}[/tex]
[tex]u=\text{number of upgrades}[/tex]
The constraints, which become inequalities are:
1. The total cost cannot be greater than 1,000 gold
- Cost of training m number of marines at 50 gold a piece:
[tex]50m[/tex]
- Cost of purchasing u number of research weapon upgrades at 200 gold per upgrade:
[tex]200u[/tex]
- Total cost:
[tex]50m+200u[/tex]
- The cost is limited to 1,000 gold that you are given:
[tex]50m+200u\leq 1,000[/tex]
That is the first inequality of your system
2. The game allows a maximum of three upgrades:
- This sets an upper bound for the variable:
[tex]u\leq 3[/tex]
- Add the reasonable constraint that the number of upgrades cannot no be negative:
[tex]u\geq 0[/tex]
3. You know that you need at least ten marines trained to survive
- This sets a lower bound for the variable:
[tex]m\geq 10[/tex]
And those are all the four inequalities that form your system to describe the number of marines and the number of upgrades you can train/purchae in the game:
[tex]50m+200u\leq 1,000[/tex]
[tex]u\leq 3[/tex]
[tex]u\geq 0[/tex]
[tex]m\geq 10[/tex]