Street Fighter

Calculus Level 3

Two players, X X and Y Y , play a game of Street Fighter. Their characters, x x and y y respectively, both start with 100 % 100\% health. The damage that x x is doing to y y (or in other words, the rate at which y y 's health decreases) at any given time is proportional to x x 's remaining health, while the damage that y y is doing to x x at any given time is proportional to the square of y y 's remaining health. For example, the rate at which y y 's health is losing when x x is at 50 % 50\% health is half that when x x is at full health. It is known that when x x has 25 % 25\% of its health remaining, y y has 50 % 50\% . When x x is defeated (at 0 % 0\% health), y y has M % M\% health remaining. Find 100 M 100M rounded to the nearest integer.


The answer is 4055.

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.

1 solution

Sam Zhou
Oct 16, 2019

From the question, we can deduce that

d x d t = k 1 y 2 \frac{dx}{dt}=-k_{1}y^{2}

d y d t = k 2 x \frac{dy}{dt}=-k_{2}x

Where t t denotes time and k 1 k_{1} and k 2 k_{2} are constants.

Dividing the two equations, we get

d y d x = x y 2 ( k 2 k 1 ) \frac{dy}{dx}=\frac{x}{y^{2}}(\frac{k_{2}}{k_{1}})

For the sake of simplification, let r r be k 2 k 1 \frac{k_{2}}{k_{1}} . Arranging this equation, we get

y 2 d y = r x d x y^{2}dy=rxdx

Then we take the integral of both sides.

y 3 3 + C = r x 2 2 \frac{y^{3}}{3}+C=r\frac{x^{2}}{2}

Multiply each side by 6 6 :

2 y 3 + C = 3 r x 2 2y^{3}+C=3rx^{2}

Given the initial conditions x = y = 1 x=y=1 , we can find C C in terms of r r .

2 + C = 3 r 2+C=3r

C = 3 r 2 C=3r-2

We are also given that at a point in time, x = 0.25 x=0.25 and y = 0.5 y=0.5 . Substituting these values in, we can find r r .

2 ( 0.5 ) 3 + 3 r 2 = 3 r ( 0.25 ) 2 2(0.5)^{3}+3r-2=3r(0.25)^{2}

1 4 + 3 r 2 = 3 16 r \frac{1}{4}+3r-2=\frac{3}{16}r

45 16 r = 7 4 \frac{45}{16}r=\frac{7}{4}

r = 28 45 r=\frac{28}{45}

Now substitute x = 0 x=0 .

2 y 3 + 3 ( 28 45 ) 2 = 0 2y^{3}+3(\frac{28}{45})-2=0

y 3 = 1 15 y^{3}=\frac{1}{15}

y = 0.4054801... = 40.54801 % y=0.4054801...=40.54801\%

Giving the answer of 4055 \boxed{4055} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...