x = pow(y,5)的反向是什么 [英] What is the reverse of x = pow(y, 5)

查看:83
本文介绍了x = pow(y,5)的反向是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须有一个思维障碍,但我根本找不到该数学函数的反义词:

I must have a mental block, but I simply can't find the reverse of this math function:

x = pow(y,5);

x = pow(y, 5);

我有x和5,如何找到y?

I have x and 5, how do I find y ?

这是我当前代码的一部分:

Here is a snip of my current code:

+(float) linearVolumeToVolumeCurve:(float)volume
{
    return pow(volume, 5);
}

+(float) volumeCurveToLinearVolume:(float)volume
{
    return ???
}

推荐答案

尝试一下(伪代码):y = pow (x, 1.0 / 5);

Try this (pseudo-code): y = pow (x, 1.0 / 5);

这篇关于x = pow(y,5)的反向是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆