1.源码实现
from sympy import Symbol, solveset, erf
x = Symbol('x', real=True)
y = erf(x) - 0.2
s = solveset(y, x)
print(s)
2.运行及结果
$ python3 example.py
{0.179143454621292}
from sympy import Symbol, solveset, erf
x = Symbol('x', real=True)
y = erf(x) - 0.2
s = solveset(y, x)
print(s)
$ python3 example.py
{0.179143454621292}
本文标题:sympy求解erf方程
本文链接:https://www.haomeiwen.com/subject/vgpgnktx.html
网友评论