Solving a non-linear equation in python

后端 未结 0 542
难免孤独
难免孤独 2021-01-11 18:43
from sympy import Eq, Symbol, solve

v = Symbol(\'v\')
eqn = Eq(0.55**1.3*((3.91/v)-0.01162)*(0.02472*(v-5)+1.132), 0.0)

x = solve(eqn)
print(x)
real_x = [val for v         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题