简体   繁体   English

AS3 - math.pow和math.log

[英]AS3 - math.pow and math.log

I got following Math problem. 我得到了数学问题。

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

I got a and c . 我得到了ac How can I get b ? 我怎么能得到b My math skilled withered over time. 随着时间的推移,我的数学技能很高

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

This is assuming you do not need to handle negatives. 这假设您不需要处理否定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM