Excuse me I've not been in a math class for over 15 years, I'm new to Mathematics stack exchange so hopefully someone can help me refine my question. I'm writing a program in C# and I have this simple equation to figure out what level a character is based on how much XP they have. To get the level of a character that has 5000 XP, I use this. XP^.17 is my static formula for figuring out a player's level.
$x = 5000^.17$
So x = 4.2543 rounded down, the players level is level 4. So that is simple for me to understand.
However I need to program a function that can find the characters XP needed to get to there next level. Given the players current level is 4.2543, how much XP is needed for the player to be level 5? How do I simplify this equation so that it can be solved?
$5 = x^.17$