Junbo-Kobe-python solution of equation

More children's programming can contact Hou, micro-channel data_ecology
This link: https://blog.csdn.net/houlaos/article/details/102646154

2*x+1.2 = -1.2

Higher Mathematics: Sandwich Theorem

min = 0
max = 100
for a in range(20):
B=(min+max)/2
if 2*B+1.2>1.2:
max=B
else:
min=B
print(B)

2-4 ** 2 * x + y = 0

2 and ** 3 + x = 0

from sympy import *
x = Symbol(“x”)
y = Symbol(“y”)
print(solve([‘2x+4y-94’, ‘y+x-35’],[x,y]))

Guess you like

Origin blog.csdn.net/houlaos/article/details/102646154