I have a specific formula = $a$^2 + $b$^3 = $c$^2
and let's say I need to print out $a$ and $c$, but only $b$ is given to us.
Example (I could think of):
B = 3
3 ^ 2 + 3 ^ 3 => 9 + 27 = 36 (6 ^ 2)
So we would just output 3 and 6 since it works based on our formula. I feel like there's some sort of simple mathematical method for doing this in a way where it will always work. I eventually want to program this, but how can I manipulate this so it'll work everything (just by providing $b$)?
In short terms, I want to display the values of $a$ and $c$ where $b$ is given to us, and works with our formula: $a$^2 + $b$^3 = $c$^2