For graphical representation of a vector, we require a straight line with an arrow pointing in a precise direction.
A straight line in a graphical representation passes through two points A and B, whose coordinates(x,y) are A(2.4) and B(3,-1). The slope of the straight line is: