Very new to Mathematica so this might be really simple.
I have the function
where r is rational due to
rationalQ[r_] := IntegerQ[Numerator[r]] && IntegerQ[Denominator[r]]
I'm trying to use conditions so that when I test pow[0,0] where x=0 and r=0, the output uses the string "undefined" instead of Indeterminate.
Any idea how it works?