$${\text{frac} = \frac{\text{energiakadu}}{\text{algenergia}} = \frac{E - E′}{E}}$$