【发布时间】:2018-06-07 05:12:32
【问题描述】:
我正在尝试求解给定输入值的方程,以便 Mathematica 可以处理答案并产生结果。但是,当我尝试这样做时,它不喜欢我给出的等式:
Solve[(Exp[2 h] - 1 - 2 h)/(5 h^2) == 0.1, h]
Solve was unable to solve the system with inexact coefficients or the system obtained by direct rationalization of inexact numbers present in the system. Since many of the methods used by Solve require exact input, providing Solve with an exact version of the system may help.
Solve[(-1 + E^(2 h) - 2 h)/(5 h^2) == 0.1, h]
如果未能提供解决方案,则会显示错误 "Solve::inex",其中显示了上面的文本。我不确定我是否必须对我的输入参数更加明确。我正在尝试将 h 设置为 0.1(以及其他值,例如 002、-0:0001、-0:00002)并获取十进制值。使用 NSolve 也不会产生结果。
【问题讨论】:
标签: input wolfram-mathematica solver