In the popular computer game League of Legends, a player’s Effective Health, E, when defending against physical damage
Ask Expert

Be Prepared For The Toughest Questions

Practice Problems

In the popular computer game League of Legends, a player’s Effective Health, E, when defending against physical damage

Question A  – Constrained Optimisation

In the popular computer game League of Legends, a player’s Effective Health, E, when defending against physical damage is given by E = H(1 + 0.01A) where H and A denote the player’s chosen units of health and armor, respectively. Furthermore, a unit of health costs 3 gold pieces and a unit of armor costs 18 gold pieces.
If you have 3600 gold pieces to spend and you need to maximise the effectiveness E of your health and armor to survive as long as possible against enemy attacks, how much of each should you buy?
A1. Write down the Lagrange function associated with this optimisation problem.
A2. Solve the problem using the Lagrange Multiplier method (show your work).
A3. Thirty minutes into the game, you have 2000 health and 50 armor. You have 1800 gold pieces to spend, and again health costs 3 gold per unit and armor costs 18 gold per unit. If the goal is still to maximise the effectiveness E of your resulting health and armor (after purchase), how much of each should you buy with your 1800 gold pieces (show your work).


Hint
Constrained optimization-a multivariable function can be maximize (or minimize) by Lagrangian expressionf(x,y,…)and g(x,y,…) = cthen follow these steps:Step 1: Initiate a new variable λ and  new function L as follows: L(x,y,…,λ) = f(x,y,…) − λ(g(x,y,…) − c)L is called the "Lagrangian", and the new variable λ is termed&...

Know the process

Students succeed in their courses by connecting and communicating with
an expert until they receive help on their questions

1
img

Submit Question

Post project within your desired price and deadline.

2
img

Tutor Is Assigned

A quality expert with the ability to solve your project will be assigned.

3
img

Receive Help

Check order history for updates. An email as a notification will be sent.

img
Unable to find what you’re looking for?

Consult our trusted tutors.

Developed by Versioning Solutions.