Student Information
Geoffrey Ellis M. Bagsic
2024-07283
ENSC 21 - G
Signature:

Frieza Invades Earth — DE Simulation

Differential equation used: dA/dt = k A (slightly modified so that A(t)=A0 e^kt - 50000).
Where A = population of humanity
k = proportionality constant depending on Frieza's strength
Time (hours): 0.000
Reset = Reset simulation
Pause = Temporarily stop simulation
Select Frieza's Form
Actions
Proportionality constant
n/a
Humanity
Population: 8000000000
Frieza HP
Form: None
Goku HP
Form: None
Goku forms (choose one)
HOW TO PLAY
Disclaimer: The web game is not very well optimized and has some bugs.
1. Select a form of Frieza that will be attacking Earth.
2. On the left side of the screen there are actions:
    a. Delay Frieza: Humanity will try to slow down Frieza's     rampage
    b. Summon Goku: Humanity calls on Goku to fight for them
3. Before choosing to click "Summon Goku" you must choose a form that he will take as can be seen in the panel above.
4. Save Humanity.
Simulation Notes
The general equation is dA/dt = k A. The values of k were manually computed through my sci cal where on normal circumstances, t=4h, 2.5h, and 1h for each respective form of Frieza. (if uninterrupted through actions)
1 hour of the simulation is equivalent to 30 seconds in real life. During fights, population loss rate decreases while Frieza is too busy to deal with Goku. The game disables multiple form selections to avoid simultaneous fights and bugs.