Creating the equations for the damage.