Two players, and , play a game of Street Fighter. Their characters, and respectively, both start with health. The damage that is doing to (or in other words, the rate at which 's health decreases) at any given time is proportional to 's remaining health, while the damage that is doing to at any given time is proportional to the square of 's remaining health. For example, the rate at which 's health is losing when is at health is half that when is at full health. It is known that when has of its health remaining, has . When is defeated (at health), has health remaining. Find rounded to the nearest integer.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
From the question, we can deduce that
d t d x = − k 1 y 2
d t d y = − k 2 x
Where t denotes time and k 1 and k 2 are constants.
Dividing the two equations, we get
d x d y = y 2 x ( k 1 k 2 )
For the sake of simplification, let r be k 1 k 2 . Arranging this equation, we get
y 2 d y = r x d x
Then we take the integral of both sides.
3 y 3 + C = r 2 x 2
Multiply each side by 6 :
2 y 3 + C = 3 r x 2
Given the initial conditions x = y = 1 , we can find C in terms of r .
2 + C = 3 r
C = 3 r − 2
We are also given that at a point in time, x = 0 . 2 5 and y = 0 . 5 . Substituting these values in, we can find r .
2 ( 0 . 5 ) 3 + 3 r − 2 = 3 r ( 0 . 2 5 ) 2
4 1 + 3 r − 2 = 1 6 3 r
1 6 4 5 r = 4 7
r = 4 5 2 8
Now substitute x = 0 .
2 y 3 + 3 ( 4 5 2 8 ) − 2 = 0
y 3 = 1 5 1
y = 0 . 4 0 5 4 8 0 1 . . . = 4 0 . 5 4 8 0 1 %
Giving the answer of 4 0 5 5 .