What is the maximum damage a player can take?

I would like to know what is the maximum damage of a warrior or mage (since they are the classes with the most damage) at lvl 300 with 30 rbs and maximum training.

Someone can answer me? Preferably presenting the calculations that made you reach this result