Note: Either public, protected or private keyword is used in place of access_specifier term used in the above code. Example of public, protected and private inheritance in C++
The graph of a relation of the form y = 5 is a line parallel to the x-axis because the y value never changes. A line parallel to the x-axis is called a horizontal line. The graph of a relation of the form x = 5 is a line parallel to the y-axis because the x value never changes. A line parallel to the y-axis is called a vertical line. Plot the graph of each of the following relations: horizontal line, vertical line.
A graph commonly consists of two axes called the x-axis (horizontal) and y-axis (vertical). Each axis corresponds to one variable. The axes are labelled with different names, such as Price and Quantity. The place where the two axes intersect is called the origin. The origin is also identified as the point (0,0). A point on a graph represents a relationship. Each point is defined by a pair of numbers containing two co-ordinates (x and y). A co-ordinate is one of a set of numbers used to identify the location of a point on a graph.