Study Material
Computer Science
Write following expressions in Python:
(
x
2
−
x
1
)
2
+
(
y
2
−
y
1
)
2
\sqrt{(x2 - x1)^2 + (y2 - y1)^2}
(
x
2
−
x
1
)
2
+
(
y
2
−
y
1
)
2
Python Data Handling
41 Likes
Answer
math
.
sqrt
(
(
x2
-
x1
)
**
2
+
(
y2
-
y1
)
**
2
)
Answered By
25 Likes
Related Questions
Write following expressions in Python:
1
3
π
r
2
h
\dfrac{1}{3} \pi r^2 h
3
1
π
r
2
h
View Answer
Bookmark Now
Write following expressions in Python:
x
=
−
b
+
b
2
−
4
a
c
2
a
x = \dfrac{-b + \sqrt{b^2 - 4ac}}{2a}
x
=
2
a
−
b
+
b
2
−
4
a
c
View Answer
Bookmark Now
Write following expressions in Python:
π
r
2
h
\pi r^2 h
π
r
2
h
View Answer
Bookmark Now
Write following expressions in Python:
(
x
−
h
)
2
+
(
y
−
k
)
2
=
r
2
(x - h)^2 + (y - k)^2 = r^2
(
x
−
h
)
2
+
(
y
−
k
)
2
=
r
2
View Answer
Bookmark Now