EPS calculation example