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.
We can also have the situation where the axis of the parabola is horizontal: In this case, we have the relation: (not function) y 2 = 4px [In a relation, there are two or more values of y for each value of x. On the other hand, a function only has one value of y for each value of x.] The above graph's axis of symmetry is the x-axis. Example - Parabola with Horizontal Axis . Sketch the curve and find the equation of the parabola with focus (-2,0) and directrix x = 2. Show answer. Shifting the Vertex of a Parabola from the Origin