Answer:
Since we do not know the balance we should start with, a general answer:
[tex]b_{new} = b_{old} + \sum_{i} d_{i} - \sum_{j} w_{j} \\[/tex]
598 - 47,27 = 550,73, assuming b_old was 0$ for your example
Step-by-step explanation:
b stands for balance (old - before any deposits or withdrawals, new after all done)
d for deposits
w for withdrawals