问题标签 [natural-logarithm]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
0 回答
10 浏览

python - 基本电子日志标签

我正在 matplotlib 中创建一个具有自然对数比例的密度图,所以我想让颜色条将刻度线值显示为 e^x - LogFormatter 功能似乎需要一个浮点数/整数作为基础。有没有办法做到这一点?

提前致谢!

0 投票
2 回答
89 浏览

c - 在 C 中使用 log() 导出指数函数

我正在尝试使用对数导出指数函数。我从下面的等式 log(22026.4657948067) 知道是 10,exp(10) 是 22026.4657948067

我想了解 exp() 和 log() 背后的基本数学。目前,我在 C 中有 log(),我想知道转换逻辑,以便我可以从 log() 计算指数()。谢谢

0 投票
1 回答
15 浏览

integral - x/(x-6)dx 积分的解

我试图解决这个积分 x/(x-6)dx 并且我使用了替换。u = x-6 和 x = u+6。

最后,我得到了答案 x+6ln|x-6|-6+C,然而,答案是 x+6ln|x-6|+C 没有 -6。有人可以帮我理解为什么会这样吗?

我的解决方案