C ++中有关POW功能的帮助 [英] Help with POW function in C++

查看:79
本文介绍了C ++中有关POW功能的帮助的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

m在使用pow功能时遇到麻烦.等式是A=P*((1+R)/T)^T均以"^"为幂.我将如何使用pow函数,我只看到4到5次方的示例,没有什么比我必须做的

m having trouble with the pow function. The equation is A=P*((1+R)/T)^T were "^" is to the power of. How would i use the pow function, i only see examples that are 4 to the 5th power, nothing like what i have to do

推荐答案

它就是A = pow((1+R)/T , T) * P;

这篇关于C ++中有关POW功能的帮助的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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