Skip to first unread message

R

unread,
Nov 15, 2020, 6:13:40 AM11/15/20
to Discussion forum for Mathematics for Data Science I
Could someone explain the concept of “mod” to me?
A=3, B=-4, C=-26

d=[ |C1-C2|]/[sqrt(A^2+B^2)]

How do I calculate the numerator?

Akshay Malik

unread,
Nov 15, 2020, 6:20:27 AM11/15/20
to Discussion forum for Mathematics for Data Science I, R
Mode basically means that it will convert the value inside it into a positive value.

if x = 3, and y = 5, then x -y = -3 , but | x -y | = 3

DHARMA TEJA GODUMALA

unread,
Nov 15, 2020, 6:22:00 AM11/15/20
to Discussion forum for Mathematics for Data Science I, R
The formula d you had used is to find the distance between the two parallel lines .
Distance will always be positive.
so even if C1-C2 is negative " I C1-C2 I is positive.
I -2 I = 2
I 2 I  = 2
Hope it helps you
On Sunday, November 15, 2020 at 4:43:40 PM UTC+5:30 R wrote:
Reply all
Reply to author
Forward
0 new messages