$answer = ($a > 0 ) ? Fraction($b**($a),1) : Fraction(1, $b**(-$a));

Worked! Thank you!

This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day

$answer = ($a > 0 ) ? Fraction($b**($a),1) : Fraction(1, $b**(-$a));

Worked! Thank you!

You are currently using guest access (Log in)