Sign in
android
/
platform
/
tools
/
idea
/
814f829cd44c28c7045e08b15bd7ee08890cbd80
/
.
/
python
/
testData
/
refactoring
/
introduceField
/
py4453.after.py
blob: 945ab52204bf07518dd20480d2be843209a29eaa [
file
] [
log
] [
blame
]
import
math
__author__
=
'wombat'
class
SolverEquation
:
def
demo
(
self
):
a
=
3
b
=
25
c
=
46
self
.
a
=
math
.
sqrt
(
b
**
2
-
4
*
a
*
c
)
root1
=
(-
b
+
self
.
a
)
/
(
2
*
a
)
root2
=
(-
b
-
self
.
a
)
/
(
2
*
a
)
print
(
root1
,
root2
)