<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compute_intensity(self, _cost_func):
 """Evaluate cost function and compute intensity at this position"""

        self.evaluate(_cost_func)
        self.intensity = 1 / self.time