In an training site, a Keyblade wielder is practing two types of spells: Firaga and Blizzaga. Firaga is a fire-element spell that releases a heat wave with heat quantity equal to +6000 cal. Blizzaga, on the other hand, is an ice-element spell that freezes the target with heat quantity equal to -40000 cal.

The Keyblade wielder has a new small challenge for him: he needs to heat up a $$5 dm^{3}$$ container of water from 10°C to 90°C (precisely). In order to do so, he has to hit the container with Firaga and Blizzaga several times. In order to cast Firaga, he spends 10 MP (Magic Points) and, to cast Blizzaga, 50 MP. By the end of the day, he was able to make it, spending 900 MP in total.

Consider that a is the amount of times he casted Firaga and b the amount of times he casted Blizzaga. What is a + b?

Notes and assumptions:

The water's heat capacity is $$c = 1 \frac{cal}{g \times °C}$$

Water's density is $$1 g/cm^{3}$$

There is no energy loss in the process

Neglect the heat absorbed by the recipient

(This problem is based on the Video Games series Kingdom Hearts, owned by Square Enix and Disney Interactive Studios. I am not affiliated with any of these companies)

×