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