Galbota
Galbota

Reputation: 63

AS3 - math.pow and math.log

I got following Math problem.

var a = Math.pow(b, c);

I got a and c. How can I get b? My math skilled withered over time.

Upvotes: 1

Views: 286

Answers (1)

theflamingskunk
theflamingskunk

Reputation: 151

var b = Math.pow(a, 1/c));

This is assuming you do not need to handle negatives.

Upvotes: 3

Related Questions