如何将这个数学方程写进c++
How to write this math equationn into c++
我不知道如何用c++写公式,我不能使用库函数求幂
4x^3 + 8x^2 + 9x - 18
y = --------------------------
|7 – x3| + (3x^2 + 18)1/2
| |表示绝对值;(…)1/2表示平方根
(4*x*x*x + 8*x*x + 9*x - 18) / (std::abs(7 – x*x*x) + std::sqrt(3*x*x + 18))
相关文章:
- 在进程中对同一管道进行读取和写入时C++管道出现问题
- 当使用透明的std函数对象时,我们还需要写空的尖括号吗
- 用C++快速读写文件
- 如何将图像传输到c++(dll)中的缓冲区,然后在c#的缓冲区中读/写
- 如何在信号处理程序和普通函数中对全局变量进行互斥读写操作
- 在一个读写器队列中,我可以用volatile替换原子吗
- 当使用比格式支持的精度更高的精度来显示数字时,会写出什么数据
- 正弦级数方程计算不正确
- 我写了一个C++程序来模拟Enigma机器.我没有得到输出
- 我是 c++ 的新手.学习基本知识后,我想做井字游戏.对于印刷板,我在下面写代码,但它显示错误
- 如何写向量的无序向量集,即unordered_set<向量<向量<int>>集合?
- 在C++行尾写一个分号或多个分号是否会改变任何内容
- 线性丢番图方程 - 求给定区间内的解数和解
- 写一个分数类,我无法弄清楚这些错误
- C++套接字对不读/写父/子
- 如何调试读写器锁的死锁?
- 在两个线程上读/写 64 位,无互斥/锁定/原子
- c++使用dev - c++编译器,我写了一个程序,从摄氏转换到华氏,但我一直得到错误的方程
- 如何将这个数学方程写进c++
- 如何把这个数学方程写进c++