Python - 1차방정식

Abdullah Kim·2020년 12월 16일
0

기초수학

목록 보기
1/1

2x+3=4x92x + 3 = 4x - 9

from sympy import Symbol, solve

x = Symbol('x') 

eq001 = 2 * x - 4 * x - (-9 - 3)

result = solve(eq001)
print("result => ", result)

result => [6]

[Done] exited with code=0 in 0.648 seconds

profile
나는 아직 늦지 않았어, 할 수 있다.!!

0개의 댓글