Final answer:
The animal spends 3 hours running from predators and 20 hours resting. The total energy spent running from predators is 300 KJ.
Step-by-step explanation:
The animal spends 3 hours a day running from predators and 20 hours a day resting. The cost of behavior is given as 700 KJ. To find the total energy spent running from predators, we first need to find the energy spent resting. The energy spent resting is calculated as the product of the resting time (20 hours) and the energy cost per hour (20 KJ/hour). So the energy spent resting is 20 hours * 20 KJ/hour = 400 KJ.
The total energy spent running from predators can be found by subtracting the energy spent resting from the total cost of behavior. So the total energy spent running from predators is 700 KJ - 400 KJ = 300 KJ.